Plesk + vServer - Server ausgelastet, Seiten nicht zu erreichen

hanke

New Member
Hi!

Mein vServer mit Plesk scheint ständig ausgelastet zu sein. In der Statistik hab ich durchgehend Werte von 10 und höher. Wenn ich versuche die dort gehosteten Domains zu erreichen hab ich endlose Wartezeiten. Nach einem Server-Neustart funktioniert dann wieder alles - leider nur für ein paar Stunden.

Ich hab mir jetzt mal die Prozessliste angeschaut, finde aber nichts auffälliges. Der CPU ist zwar zu ca. 40% ausgelastet, die Webseiten sollten dann aber doch erreichbar sein, oder?

Hat jemand eine Idee woran das Problem liegen könnte? Welche Logs kann ich mir noch anschauen um evtl. die Ursache zu finden?

Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    700   300 ?        Ss   12:55   0:00 init [3]
root      5801  0.0  0.0   7048   684 ?        S<s  12:55   0:00 /sbin/udevd --daemon
100       6061  0.0  0.0  12952   972 ?        Ss   12:55   0:00 /usr/bin/dbus-daemon --system
root      6081  0.0  0.0  11776  1712 ?        Ss   12:55   0:00 /usr/sbin/hald --daemon=yes --retain-privileges
root      7520  0.0  0.0   3636   660 ?        Ss   12:55   0:00 /sbin/syslogd -a /var/lib/named/dev/log
root      7548  0.0  0.0   9468   864 ?        S    12:55   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/co
root      7559  0.0  0.0   7188  1000 ?        S    12:55   0:00 /usr/sbin/courierlogger imapd
root      7574  0.0  0.0   9468   864 ?        S    12:55   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/co
root      7576  0.0  0.0   7188  1000 ?        S    12:55   0:00 /usr/sbin/courierlogger imapd-ssl
root      7585  0.0  0.0   9468   864 ?        S    12:55   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/co
root      7587  0.0  0.0   7188  1000 ?        S    12:55   0:00 /usr/sbin/courierlogger pop3d
root      7597  0.0  0.0   9468   864 ?        S    12:55   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/co
root      7601  0.0  0.0   7188  1000 ?        S    12:55   0:00 /usr/sbin/courierlogger pop3d-ssl
root      7617  0.0  0.0  27796  1352 ?        Ss   12:55   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root      7624  0.0  0.0  10664   936 ?        Ss   12:55   0:00 /usr/sbin/xinetd
named     7748  0.0  0.0  56988  3408 ?        Ssl  12:55   0:00 /usr/sbin/named -t /var/lib/named -u named
root      7842  0.0  0.0   7904  1464 ?        S    12:55   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mys
mysql     7919  0.0  0.0 132272 16680 ?        Sl   12:55   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql -
qmails    7965  0.0  0.0   2588   440 ?        S    12:55   0:00 qmail-send
qmaill    7970  0.0  0.0   2536   512 ?        S    12:55   0:00 splogger qmail
root      7971  0.0  0.0   2576   416 ?        S    12:55   0:00 qmail-lspawn ./Maildir/
qmailr    7972  0.0  0.0   2576   420 ?        S    12:55   0:00 qmail-rspawn
qmailq    7973  0.0  0.0   2532   384 ?        S    12:55   0:00 qmail-clean
root      8021  0.0  0.0  65608 38564 ?        Ss   12:55   0:00 /usr/sbin/spamd --username=popuser --daemonize --nouser-config --helper
popuser   8026  0.0  0.0  65608 37232 ?        S    12:55   0:00 spamd child
root      8079  0.0  0.0 214688 17216 ?        Ss   12:55   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    8085  3.0  0.0 231360 30560 ?        R    12:55   8:33 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root      8123  0.0  0.0  72904  6272 ?        Ss   12:55   0:00 /usr/local/psa/admin/bin/httpsd
psaadm    8128  0.0  0.0  80388 25112 ?        S    12:55   0:00 /usr/local/psa/admin/bin/httpsd
root      9305  0.0  0.0  10016   740 ?        Ss   12:56   0:00 /usr/sbin/cron
wwwrun   11962  3.0  0.0 230348 28672 ?        R    12:57   8:38 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   11963  3.1  0.0 230544 29124 ?        R    12:57   8:53 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    1724  3.4  0.0 230072 28448 ?        R    13:26   8:44 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    3892  4.1  0.0 232040 31104 ?        R    14:02   8:55 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    4069  5.0  0.0 216824 14444 ?        R    14:57   8:03 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    5326  4.8  0.0 229764 27984 ?        R    14:57   7:44 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    5334  5.0  0.0 229512 27692 ?        R    14:57   8:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   18346  4.9  0.0 220460 18540 ?        R    15:02   7:42 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   19667  5.1  0.0 218112 16088 ?        R    15:03   7:54 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
psaadm   19728  0.1  0.0  82820 31028 ?        S    17:32   0:00 /usr/local/psa/admin/bin/httpsd
psaadm   19732  0.0  0.0  75412 10428 ?        S    17:32   0:00 /usr/local/psa/admin/bin/httpsd
root     25906  0.0  0.0  47020  3116 ?        Rs   17:36   0:00 sshd: root@pts/0
root     26061  0.0  0.0  12608  2272 pts/0    Ss   17:36   0:00 -bash
root     28109  0.0  0.0   7288   916 pts/0    R+   17:38   0:00 ps -aux
 
Du musst prüfen, was der Arbeitsspeicher und co. macht. Die Prozessliste alleine sit da weniger Aussagekräftig. Die Information, dass die CPU zu 40% belastet ist, bringt auch relativ wenig, da du einen virtuellen Server hast, d.h. die CPU mit anderen Nutzern geteilt wird.

Guck dir mal
cat /proc/user_beancounters

an. Dort stehen die Resourcen, die dir zur Verfügung stehen, und die aktuellen Verbrauchsdaten.

Dennis
 
Okay, danke! Ich behalte die Werte mal im Auge bis zum nächsten Mal, wenn nichts mehr geht. Dann werde ich mich wohl nochmal melden müssen :)
 
So, es ist bereits wieder soweit. Hier mal die Daten von cat /proc/user_beancounters:

Code:
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
     XXXXX: kmemsize                 12446538             12481124             39845888             44040192                    0
            lockedpages                     0                    0                 1792                 1792                    0
            privvmpages                114529               114677               275968               284160                    0
            shmpages                    14321                14321                73728                73728                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        57                   57                  768                  768                    0
            physpages                   63724                63729                    0  9223372036854775807                    0
            vmguarpages                     0                    0                76800  9223372036854775807                    0
            oomguarpages                63724                63729  9223372036854775807  9223372036854775807                    0
            numtcpsock                     78                   79                  896                  896                    0
            numflock                        9                    9                  512                  544                    0
            numpty                          1                    1                   32                   32                    0
            numsiginfo                      0                    2                 1024                 1024                    0
            tcpsndbuf                  736016               736016              8388608             12582912                    0
            tcprcvbuf                 1079072              1081712              8290304             12582912                    0
            othersockbuf                41384                46448              3145728              8388608                    0
            dgramrcvbuf                     0                 1320              4194304              4194304                    0
            numothersock                   30                   33                  896                  896                    0
            dcachesize                1225773              1232766              8388608              8650752                    0
            numfile                      2105                 2106                 8192                 8192                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      14                   14                  128                  128                    0

Da scheint es zumindest keine Überschreitungen der Limits zu geben.
 
Back
Top