RAM Problem ?

dajo77

Registered User
Seit heute ist mein V-Server zum Speicherfresser geworden
VServer bei Vanager, 256 MB RAM zugesichert , Debian Sarge als OS

xxxxx:~# cat /proc/user_beancounters lässt mitteilen :

Code:
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
       469: kmemsize       17595490   17619033   30841685   33925855    9444501
            lockedpages           0          0        662        662          0
            privvmpages      173985     174606     178734     196608 2294927173
            shmpages           1589       1589      70000      70000          0
            dummy                 0          0          0          0          0
            numproc             204        204        330        330          0
            physpages         93394      93476          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      93398      93480      65536 2147483647          0
            numtcpsock          330        330        330        330  467061711
            numflock              5          5        528        580          0
            numpty                1          1         33         33          0
            numsiginfo            0          0       1024       1024          0
            tcpsndbuf        219792     251676    3171767    4523447          0
            tcprcvbuf         55588     203200    3171767    4523447          0
            othersockbuf     238832     250408    1585883    2937563          0
            dgramrcvbuf       17104      85520    1585883    1585883          0
            numothersock        154        159        330        330        527
            dcachesize       856408     860426    3041280    3132518          0
            numfile            2769       2774       5280       5280          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            14         14         45         45          0

ps -fx

Code:
xxxxx:~# ps -fx

  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init
 5699 ?        Ss     0:00 /sbin/syslogd
 5707 ?        Ss     0:00 /sbin/klogd
 5901 ?        Ss     0:00 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d -Q -x -d --pidf
12128 ?        S      0:01  \_ spamd child
12170 ?        S      0:00  \_ spamd child
13389 ?        S      0:00  \_ spamd child
13666 ?        S      0:01  \_ spamd child
13855 ?        S      0:01  \_ spamd child
 5987 ?        Ssl    0:00 /usr/sbin/dccifd
 5997 ?        Ss     0:00 /usr/sbin/inetd
 6029 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
 6097 ?        S      0:00  \_ /bin/sh /usr/bin/mysqld_safe
 6099 ?        S      0:00      \_ logger -p daemon.err -t mysqld_safe -i -t mysqld
 7494 ?        Ss     0:00 /usr/lib/postfix/master
 7543 ?        Ss     0:00 /usr/sbin/saslauthd -a pam
11806 ?        S      0:00  \_ /usr/sbin/saslauthd -a pam
11808 ?        S      0:00  \_ /usr/sbin/saslauthd -a pam
11812 ?        S      0:00  \_ /usr/sbin/saslauthd -a pam
11814 ?        S      0:00  \_ /usr/sbin/saslauthd -a pam
11651 ?        Ss     0:00 /usr/sbin/sshd
 5739 ?        Ss     0:00  \_ sshd: root@notty
 7272 ?        Ss     0:00  |   \_ /usr/lib/sftp-server
12009 ?        Ss     0:00  \_ sshd: root@pts/0
15620 pts/0    Ss     0:00      \_ -bash
31946 pts/0    R+     0:00          \_ ps -fx
11666 ?        Ss     0:00 /usr/sbin/vsftpd
12158 ?        Ss     0:00 /sbin/rpc.statd
13937 ?        Ss     0:00 /usr/sbin/cron
18211 ?        S      0:02 /usr/sbin/apache
13841 ?        S      0:00  \_ /usr/bin/perl /root/confixx/pipelog.pl

Woran könnte es liegen ?
 
Hallo,

du hast noch ganz andere Sorgen wenn ich mir so deinen Auszug von "cat /proc/user_beancounters" ansehe.

Das nur mal so am Rande.

So nun schubse ich mal meine Glaskugel an.....

hui

hui

wuschel

ping

Also ich würde auf Spamassassin tippen :D
 
Jo

Jo, so weit bin ich mittlerweile auch...

Was sagt Deine Glaskugel ? Woran kann so was liegen :-) ?

Aktueller Status (sieht wohl viel besser aus) :

Code:
bluesercode:~# cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
       469: kmemsize        5222005    5243869   30841685   33925855    9444501
            lockedpages           0          0        662        662          0
            privvmpages       98983      99052     178734     196608 2295097981
            shmpages           1589       1589      70000      70000          0
            dummy                 0          0          0          0          0
            numproc              65         65        330        330          0
            physpages         43666      43667          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      43675      43676      65536 2147483647          0
            numtcpsock           16         16        330        330  471911545
            numflock              5          5        528        580          0
            numpty                1          1         33         33          0
            numsiginfo            0          0       1024       1024          0
            tcpsndbuf          6684       6684    3171767    4523447          0
            tcprcvbuf             0       4276    3171767    4523447          0
            othersockbuf     144128     144128    1585883    2937563          0
            dgramrcvbuf           0          0    1585883    1585883          0
            numothersock         97         97        330        330        527
            dcachesize       613032     614754    3041280    3132518          0
            numfile            1415       1415       5280       5280          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            14         14         45         45          0

Habe bei dem betreffenden Web (Confixx) *@xxxx.tld Email Konto gelöscht !
Könnte das der Fehler sein ?
 
Hallo,

also daraus kann man nicht ableiten wodurch das verursacht wird.

Poste doch mal die Ausgabe von
Code:
ps aux

Bei "ps aux" wird auch der RAM Bereich mit angegeben.
 
PS AUX lässt mitteilen :

Code:
bluesercode:~# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1884  656 ?        Ss   00:18   0:00 init
daemon   17945  0.0  0.0  1640  468 ?        Ss   00:18   0:00 /sbin/portmap
root     18051  0.0  0.0  2288  812 ?        Ss   00:18   0:00 /sbin/syslogd
root     18061  0.0  0.0  1528  480 ?        Ss   00:18   0:00 /sbin/klogd
bind     18077  0.0  0.0 55140 2688 ?        Ssl  00:18   0:00 /usr/sbin/named -
root     18158  0.0  0.3 28456 25772 ?       Ss   00:18   0:00 /usr/sbin/spamd -
clamav   18234  0.0  0.0  4216 1336 ?        Ss   00:18   0:00 /usr/bin/freshcla
root     18242  0.0  0.1 26396 8472 ?        Ssl  00:18   0:00 /usr/sbin/dccifd
root     18254  0.0  0.0  2268  760 ?        Ss   00:18   0:00 /usr/sbin/inetd
root     18272  0.0  0.0  2636 1332 ?        S    00:18   0:00 /bin/sh /usr/bin/
root     18342  0.0  0.0  2636 1336 ?        S    00:18   0:00 /bin/sh /usr/bin/
mysql    18343  0.0  0.2 118288 16740 ?      Sl   00:18   0:00 /usr/sbin/mysqld
root     18344  0.0  0.0  1516  512 ?        S    00:18   0:00 logger -p daemon.
root     19609  0.0  0.0  3724 1400 ?        Ss   00:18   0:00 /usr/lib/postfix/
root     19618  0.0  0.0  6656 1624 ?        Ss   00:18   0:00 /usr/sbin/saslaut
root     19674  0.0  0.0  6656 1624 ?        S    00:18   0:00 /usr/sbin/saslaut
root     19675  0.0  0.0  6656 1624 ?        S    00:18   0:00 /usr/sbin/saslaut
root     19676  0.0  0.0  6656 1624 ?        S    00:18   0:00 /usr/sbin/saslaut
root     19677  0.0  0.0  6656 1624 ?        S    00:18   0:00 /usr/sbin/saslaut
root     19704  0.0  0.0  3584 1608 ?        Ss   00:18   0:00 /usr/sbin/sshd
root     19709  0.0  0.0  3132  876 ?        Ss   00:18   0:00 /usr/sbin/vsftpd
root     19770  0.0  0.0  2416  980 ?        Ss   00:18   0:00 /sbin/rpc.statd
root     19807  0.0  0.0  1816  904 ?        Ss   00:18   0:00 /usr/sbin/cron
root     19852  0.0  0.1 34288 13924 ?       S    00:18   0:00 /usr/sbin/apache
root     19901  0.0  0.0  3256 1392 ?        S    00:18   0:00 /usr/bin/perl /ro
www-data 19902  0.0  0.1 36012 16576 ?       S    00:18   0:00 /usr/sbin/apache
www-data 19903  0.0  0.1 35508 15820 ?       S    00:18   0:00 /usr/sbin/apache
www-data 19904  0.2  0.2 38976 19340 ?       S    00:18   0:02 /usr/sbin/apache
www-data 19906  0.2  0.2 38352 18872 ?       S    00:18   0:02 /usr/sbin/apache
www-data 19907  0.0  0.1 35476 15948 ?       S    00:18   0:00 /usr/sbin/apache
root     19910  0.0  0.3 31644 28128 ?       S    00:18   0:00 spamd child
root     19911  0.0  0.3 30668 27132 ?       S    00:18   0:00 spamd child
root     19912  0.0  0.3 31884 28344 ?       S    00:18   0:00 spamd child
root     19914  0.0  0.3 30948 27452 ?       S    00:18   0:00 spamd child
root     19916  0.0  0.3 30688 27112 ?       S    00:18   0:00 spamd child
www-data 20210  0.0  0.2 37120 17064 ?       S    00:18   0:00 /usr/sbin/apache
www-data 21860  0.1  0.2 39152 19516 ?       S    00:19   0:01 /usr/sbin/apache
www-data 23826  0.4  0.2 38072 18472 ?       S    00:19   0:03 /usr/sbin/apache
www-data 23830  0.2  0.2 38336 18704 ?       S    00:19   0:01 /usr/sbin/apache
postfix   5145  0.0  0.0  3036 1216 ?        S    00:24   0:00 pickup -l -t fifo
postfix   5146  0.0  0.0  3068 1276 ?        S    00:24   0:00 qmgr -l -t fifo -
www-data 13559  0.0  0.1 35692 15968 ?       S    00:24   0:00 /usr/sbin/apache
postfix  20325  0.0  0.0  3036 1168 ?        S    00:27   0:00 proxymap -t unix
postfix  30558  0.0  0.0  3392 1548 ?        S    00:31   0:00 trivial-rewrite -
root     28562  0.0  0.0 15636 2580 ?        Ss   00:33   0:00 sshd: root@notty
root     30289  0.0  0.0  3188 1044 ?        Ss   00:33   0:00 /usr/lib/sftp-ser
root      7769  0.1  0.0 15636 2584 ?        Ss   00:33   0:00 sshd: root@pts/0
postfix   9970  0.0  0.0  3672 1744 ?        S    00:33   0:00 smtpd -n smtp -t
root     13892  0.0  0.0  3208 1784 pts/0    Ss   00:33   0:00 -bash
root     16250  0.0  0.0  2536  872 pts/0    R+   00:33   0:00 ps aux

VZFREE
VPS Speichernutzung:
Momentan genutzt: 395.555 MB
Zugesichert: 256 MB
Maximal nutzbar: 768 MB
 
Schau, man kann sicher die Zahl der Kindprozesse von Webserver und spamd reduzieren und damit RAM sparen;
Was die failcounts bei den tcp-sockets angeht muss das aber nicht helfen, und ob die Massnahme bei Die Verlustfrei moeglich ist (also ob dadurch eine Grosszahl von Besuchern einfach nicht bedient werden wuerde) kann auch keiner hier sagen.
Beobachte mal die failcounts fuer ram und sockets, gerade wenn das System unter Last liegt. Ggfs. kannst du auch mal die Childprozesse des Webservers reduzieren und schaun, wann der erste Benutzer abgelehnt wird.
Da kann Dir hier ohne Kenntnis der Zugriffszahlen niemand einen konkreteren Vorschlag machen.
Wenn ansonsten die failcounts fuer RAM und TCP-Sockets weiter zunehmen ist das System wohl tatsaechlich zu duenn.

Ciao,
Mercy.
 
Falls du auf deinem V-Server die Plesk-Updates installierst hast dann wird es höchstwarscheinlich daran liegen, war bei mir exakt genauso.

Dann hilft nur noch:
NEUINSTALLIEREN :D
(Ja ok, vllt. gibt es da noch eine andere Möglichkeit, aber so clean bekommst du ihn sonst nie wieder)

Fireball22
 
Back
Top