Ressourcenprobleme mal wieder

freeman

New Member
Ich weiß nicht mehr was ich noch ausprobieren soll, habe schon mehrere Dienste deaktiviert aber es hat sich nichts geändert.
Privvmpages ist immer ziemlich nah am Limit.
Könnte vorhin nichteinmal mehr den MySQL server wieder starten.
Teamspeak Server kann ich auch nicht mehr starten.
Vielleicht kann man jemand schaun, ob ich was übersehen habe, oder ein Paar Tipps geben.

Fehler ist Folgender:
Cannot allocate memory

Hab einen Vserver Basic bei S4Y

Vielen Dank schonmal
Grüße
freeman

/proc/user_beancounters
Code:
Version: 2.5                                                                                                                     
       uid  resource                     held              maxheld              barrier                limit              failcnt
    000000: kmemsize                  3736628              5441280              7056211              7761832                    0
            lockedpages                     0                    0                  344                  344                    0
            privvmpages                 81830                96573                87632                96396                  934
            shmpages                      335                 2591                19567                19567                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        49                   67                  128                  128                    0
            physpages                   23176                30959                    0           2147483647                    0
            vmguarpages                     0                    0                65536           2147483647                    0
            oomguarpages                23177                30960                65536           2147483647                    0
            numtcpsock                     27                   60                  172                  172                    0
            numflock                       10                   14                  224                  246                    0
            numpty                          1                    4                   16                   16                    0
            numsiginfo                      0                    6                  512                  512                    0
            tcpsndbuf                  175800               335192              1416560              2768240                    0
            tcprcvbuf                  176120               566032              1416560              2768240                    0
            othersockbuf                15088               306024               655717              1153621                    0
            dgramrcvbuf                     0               370920               655717               655717                    0
            numothersock                   22                   49                  228                  228                    0
            dcachesize                      0                    0              1503190              1548286                    0
            numfile                      1928                 2447                 3008                 3008                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      36                   42                   64                   64                    0

ps aux
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1496  536 ?        Ss   Feb23   0:00 init [2]         
root     27845  0.0  0.0  1560  536 ?        Ss   Feb23   0:00 /sbin/syslogd
bind     27855  0.0  0.0 66308 2288 ?        Ss   Feb23   0:00 /usr/sbin/named -u bind
clamav   27914  0.0  0.3 51308 27500 ?       Ss   Feb23   1:34 /usr/sbin/clamd
clamav   27961  0.0  0.0  4100  908 ?        Ss   Feb23   0:00 /usr/bin/freshclam -d --quiet -p /var/run/clamav/freshclam.pid
root     28405  0.0  0.0 53064  808 ?        Ss   Feb23   0:01 /usr/sbin/nscd
nobody   28416  0.0  0.0  1712  528 ?        Ss   Feb23   0:00 /usr/sbin/oidentd -mf -P 191.255.255.1 -u nobody -g nogroup
root     28423  0.0  0.0  6664 1384 ?        Ss   Feb23   0:00 /usr/sbin/saslauthd -n 1 -a pam
freeman  15502  0.0  0.0  2736 1548 ?        S    Feb23   0:38 ./psybnc
root     20041  0.0  0.0  1784  832 ?        Ss   Feb24   0:00 /usr/sbin/cron
root     20235  0.0  0.0  3508  972 ?        Ss   Feb24   0:00 /usr/sbin/sshd
Debian-  22002  0.0  0.0  8500 1376 ?        Ss   Feb24   0:00 /usr/sbin/exim4 -bd -q30m
root     11401  0.0  0.0 56888 4132 ?        S    Feb24   0:00 python2.4 /usr/bin/fail2ban-server -b -s /tmp/fail2ban.sock
root     23853  0.0  0.0 14668 2104 ?        Rs   Feb24   0:00 sshd: root@pts/1
root     24141  0.0  0.0  2664 1592 pts/1    Ss   Feb24   0:00 -bash
root     22275  0.0  0.3 26820 24516 ?       SNs  00:06   0:00 /usr/sbin/spamd --create-prefs --max-children 1 --helper-home-dir -d --pid
root     24177  0.0  0.3 28680 26420 ?       SN   00:06   0:01 spamd child
root     27797  0.0  0.1 25208 8656 ?        Ss   00:06   0:00 /usr/sbin/apache2 -k start -DSSL
root     25783  0.0  0.0  1536  508 ?        Ss   00:13   0:00 /usr/sbin/inetd
philip   25997  0.0  0.0  4736 2528 ?        S    00:13   0:00 imapd
philip   25998  0.0  0.0  4736 2504 ?        S    00:13   0:00 imapd
philip   25999  0.0  0.0  4736 2516 ?        S    00:13   0:00 imapd
philip   26007  0.0  0.0  4736 2516 ?        S    00:13   0:00 imapd
philip   26010  0.0  0.0  4736 2512 ?        S    00:13   0:00 imapd
freeman  28317  0.0  0.0  4736 2548 ?        S    00:19   0:00 imapd
freeman  28319  0.0  0.0  4736 2504 ?        S    00:19   0:00 imapd
root     13992  0.0  0.0  2320 1124 pts/1    S    00:25   0:00 /bin/sh /usr/bin/mysqld_safe
mysql    14043  0.0  0.0 43552 6956 pts/1    S    00:25   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pi
root     14049  0.0  0.0  1480  504 pts/1    S    00:25   0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
www-data 15746  0.0  0.0 25208 4660 ?        S    00:26   0:00 /usr/sbin/apache2 -k start -DSSL
www-data 15808  0.0  0.0 25208 4660 ?        S    00:26   0:00 /usr/sbin/apache2 -k start -DSSL
root     11301  0.0  0.0  2508  872 pts/1    R+   00:29   0:00 ps aux
 
Oha, es lag wohl an bind und nscd.
Nach dem Beenden der beiden Dienste hatte ich ca. 30k Pages mehr frei.
Eigentlich ist es ja schwachsin das bind läuft. Den Nameserver übernimmt ja ein anderer für mich.

Oder wäre der trotzdem hilfreich?

Das Tunen von Apache und MySQL hatte bei mir nur geringen Erfolg gebracht. Vielleicht auch nur, weil die pages schon voll waren :)
 
Back
Top