Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
stain79
Posts: 19
Joined: 2005-09-19 18:16

Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

hallo allerseits,
nachdem mein server nun ein paar tage ziemlich gut lief, scheint er wieder probleme zu haben...

und zwar ist die load average sehr hoch, worauf der server nach ein paar minuten dann abschmiert.
persistant connections auf off, my.cf und php.ini und server-tuning.conf wie im forum geraten geändert.

hier meine auszüge aus top und ps aux:

Code: Select all

top - 11:31:26 up 12 min,  1 user,  load average: 62.44, 52.34, 28.47
Tasks: 228 total,   3 running, 224 sleeping,   0 stopped,   1 zombie
Cpu(s):   4.6% user,  24.5% system,   0.0% nice,  70.9% idle
Mem:   2067664k total,  2005368k used,    62296k free,    24328k buffers
Swap:   514072k total,     1492k used,   512580k free,  1136200k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1159 mysql     18   0  4356 4356 2512 S  4.9  0.2   0:07.20 mysqld
 1528 mysql     19   0  4356 4356 2512 S  3.0  0.2   0:04.31 mysqld
 1061 wwwrun    16   0 13080  11m 9.9m S  2.3  0.6   0:01.11 httpd2-prefork
 1665 wwwrun    17   0 12224  10m   9m S  2.3  0.5   0:00.44 httpd2-prefork
 1541 wwwrun    13   0 12136  10m 9.9m S  2.0  0.5   0:00.16 httpd2-prefork
 1284 root      15   0  1064 1064  756 R  1.6  0.1   0:11.58 top
 1389 wwwrun    13   0 34020  31m   9m S  1.3  1.6   0:00.47 httpd2-prefork
 1007 mysql     13   0  4356 4356 2512 S  1.0  0.2   0:06.62 mysqld
 1526 mysql     12   0  4356 4356 2512 S  1.0  0.2   0:03.64 mysqld
 1155 wwwrun    10   0 23012  21m  20m S  0.3  1.0   0:00.40 httpd2-prefork
 1262 wwwrun    10   0 37244  35m  34m D  0.3  1.7   0:00.23 httpd2-prefork
 1263 wwwrun    10   0 36648  34m  33m D  0.3  1.7   0:00.39 httpd2-prefork
 1519 wwwrun    10   0 28504  26m  25m D  0.3  1.3   0:00.31 httpd2-prefork
 1548 wwwrun    10   0 22436  20m  19m D  0.3  1.0   0:00.33 httpd2-prefork
 1549 wwwrun    10   0 20848  18m  18m S  0.3  0.9   0:00.04 httpd2-prefork
 1778 wwwrun     9   0 18164  16m  15m D  0.3  0.8   0:00.24 httpd2-prefork
 1782 wwwrun    10   0 16680  14m  14m D  0.3  0.7   0:00.64 httpd2-prefork
 1785 wwwrun    10   0 37144  34m  34m S  0.3  1.7   0:00.23 httpd2-prefork
 1791 wwwrun    10   0 17904  16m  15m S  0.3  0.8   0:00.42 httpd2-prefork
 1907 wwwrun    10   0 13844  12m  12m R  0.3  0.6   0:00.01 httpd2-prefork
 1916 wwwrun    10   0 17776  16m  13m D  0.3  0.8   0:00.11 httpd2-prefork
    1 root       9   0   256  256  220 S  0.0  0.0   0:06.99 init
    2 root       8   0     0    0    0 S  0.0  0.0   0:00.00 keventd
    3 root      19  19     0    0    0 S  0.0  0.0   0:04.55 ksoftirqd_CPU0
    4 root      19  19     0    0    0 S  0.0  0.0   0:00.48 ksoftirqd_CPU1
    5 root       9   0     0    0    0 S  0.0  0.0   0:00.41 kswapd
    6 root       9   0     0    0    0 S  0.0  0.0   0:00.00 bdflush
    7 root       9   0     0    0    0 S  0.0  0.0   0:01.34 kupdated
   11 root       9   0     0    0    0 S  0.0  0.0   0:00.08 khubd
   12 root       9   0     0    0    0 S  0.0  0.0   0:00.33 kjournald
   57 root       9   0     0    0    0 S  0.0  0.0   0:00.01 kjournald
  537 root       9   0   480  480  420 S  0.0  0.0   0:00.00 dhcpcd
  604 root       9   0   624  624  532 S  0.0  0.0   0:00.04 syslogd
  607 root       9   0  1556 1556  472 S  0.0  0.1   0:00.07 klogd
  626 bin        9   0   408  408  340 S  0.0  0.0   0:00.00 portmap
  627 root       9   0  1072 1072 1056 S  0.0  0.1   0:00.00 saslauthd
  631 root       9   0  1072 1072 1056 S  0.0  0.1   0:00.00 saslauthd
  632 root       9   0  1072 1072 1056 S  0.0  0.1   0:00.00 saslauthd
  633 root       9   0  1072 1072 1056 S  0.0  0.1   0:00.00 saslauthd
  634 root       9   0  1072 1072 1056 S  0.0  0.1   0:00.00 saslauthd
  677 root       9   0   284  284  232 S  0.0  0.0   0:00.00 startpar
  680 root       9   0   868  868  732 S  0.0  0.0   0:00.00 xinetd
  681 named      9   0  2456 2456 1900 S  0.0  0.1   0:00.00 named
  682 named      9   0  2456 2456 1900 S  0.0  0.1   0:00.11 named
  683 named      9   0  2456 2456 1900 S  0.0  0.1   0:00.00 named
  684 named      9   0  2456 2456 1900 S  0.0  0.1   0:00.00 named
  685 named      9   0  2456 2456 1900 S  0.0  0.1   0:00.00 named
  690 root       9   0  1108 1104  900 S  0.0  0.1   0:00.06 mysqld_safe
  725 root       9   0  1616 1616 1472 S  0.0  0.1   0:00.00 sshd
  734 mysql      9   0  4356 4356 2512 S  0.0  0.2   0:00.15 mysqld
  746 mysql      9   0  4356 4356 2512 S  0.0  0.2   0:00.01 mysqld
  747 mysql      9   0  4356 4356 2512 S  0.0  0.2   0:00.21 mysqld
  748 root       9   0  2376 2372 2036 S  0.0  0.1   0:02.59 sshd

Code: Select all

h608108:~ # ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.8  0.0   620  256 ?        S    11:18   0:06 init [3]
root         2  0.0  0.0     0    0 ?        SW   11:18   0:00 [keventd]
root         3  0.5  0.0     0    0 ?        SWN  11:18   0:04 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        SWN  11:18   0:00 [ksoftirqd_CPU1]
root         5  0.0  0.0     0    0 ?        SW   11:18   0:00 [kswapd]
root         6  0.0  0.0     0    0 ?        SW   11:18   0:00 [bdflush]
root         7  0.1  0.0     0    0 ?        SW   11:18   0:01 [kupdated]
root        11  0.0  0.0     0    0 ?        SW   11:18   0:00 [khubd]
root        12  0.0  0.0     0    0 ?        SW   11:18   0:00 [kjournald]
root        57  0.0  0.0     0    0 ?        SW   11:19   0:00 [kjournald]
root       537  0.0  0.0  1524  480 ?        S    11:19   0:00 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
root       604  0.0  0.0  1560  624 ?        S    11:19   0:00 /sbin/syslogd -a /var/lib/named/dev/log
root       607  0.0  0.0  2492 1556 ?        S    11:19   0:00 /sbin/klogd -c 1 -2
bin        626  0.0  0.0  1524  408 ?        S    11:19   0:00 /sbin/portmap
root       627  0.0  0.0  4140 1072 ?        S    11:19   0:00 /usr/sbin/saslauthd -a pam
root       631  0.0  0.0  4140 1072 ?        S    11:19   0:00 /usr/sbin/saslauthd -a pam
root       632  0.0  0.0  4140 1072 ?        S    11:19   0:00 /usr/sbin/saslauthd -a pam
root       633  0.0  0.0  4140 1072 ?        S    11:19   0:00 /usr/sbin/saslauthd -a pam
root       634  0.0  0.0  4140 1072 ?        S    11:19   0:00 /usr/sbin/saslauthd -a pam
root       677  0.0  0.0  1356  284 ?        S    11:19   0:00 /sbin/startpar -f -- /etc/init.d/rc3.d/S12named
root       680  0.0  0.0  2180  868 ?        S    11:19   0:00 /usr/sbin/xinetd
named      681  0.0  0.1 11116 2456 ?        S    11:19   0:00 /usr/sbin/named -t /var/lib/named -u named
named      682  0.0  0.1 11116 2456 ?        S    11:19   0:00 /usr/sbin/named -t /var/lib/named -u named
named      683  0.0  0.1 11116 2456 ?        S    11:19   0:00 /usr/sbin/named -t /var/lib/named -u named
named      684  0.0  0.1 11116 2456 ?        S    11:19   0:00 /usr/sbin/named -t /var/lib/named -u named
named      685  0.0  0.1 11116 2456 ?        S    11:19   0:00 /usr/sbin/named -t /var/lib/named -u named
root       690  0.0  0.0  2464 1104 ?        S    11:19   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --datadir=/var/lib/mysql
root       725  0.0  0.0  4916 1616 ?        S    11:19   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
mysql      734  0.0  0.2 41724 4356 ?        S    11:19   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      746  0.0  0.2 41724 4356 ?        S    11:19   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      747  0.0  0.2 41724 4356 ?        S    11:19   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
root       748  0.3  0.1  5576 2372 ?        S    11:19   0:02 sshd: root@pts/8
root       888  0.0  0.1  5576 2372 ?        S    11:19   0:00 sshd: root@pts/8
root       893  0.0  0.0  3036 1776 pts/8    S    11:19   0:00 -bash
root       924  0.0  0.0  4172 1332 ?        S    11:19   0:00 /usr/lib/postfix/master
postfix    931  0.0  0.0  4208 1364 ?        S    11:19   0:00 pickup -l -t fifo -u
postfix    932  0.0  0.0  4228 1396 ?        S    11:19   0:00 qmgr -l -t fifo -u
root       959  0.0  0.4 28740 10308 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root       960  0.0  0.0  3312 1404 ?        S    11:19   0:00 /usr/bin/perl /root/confixx/pipelog.pl
wwwrun     977  0.1  2.2 94936 47176 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun     980  0.0  0.5 38728 11092 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun     981  0.0  0.6 68052 14324 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root       995  0.0  0.0 12272  772 ?        S    11:19   0:00 /usr/sbin/nscd
root       996  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root       997  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root       998  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root       999  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root      1000  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root      1001  0.0  0.0 12272  776 ?        S    11:19   0:00 /usr/sbin/nscd
root      1005  0.0  0.0  1520  588 ?        S    11:19   0:00 /usr/sbin/cron
mysql     1007  0.9  0.2 41724 4356 ?        S    11:19   0:06 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql     1008  1.0  0.2 41724 4356 ?        S    11:19   0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
root      1010  0.0  0.0  1508  520 tty1     S    11:19   0:00 /sbin/mingetty --noclear tty1
root      1011  0.0  0.0  1508  520 tty2     S    11:19   0:00 /sbin/mingetty tty2
root      1012  0.0  0.0  1508  520 tty3     S    11:19   0:00 /sbin/mingetty tty3
root      1013  0.0  0.0  1508  520 tty4     S    11:19   0:00 /sbin/mingetty tty4
root      1014  0.0  0.0  1508  520 tty5     S    11:19   0:00 /sbin/mingetty tty5
root      1015  0.0  0.0  1508  520 tty6     S    11:19   0:00 /sbin/mingetty tty6
root      1016  0.0  0.0  1500  496 ttyS0    S    11:19   0:00 /sbin/agetty -L 57600 ttyS0 vt102
wwwrun    1018  0.1  1.9 58044 39908 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1019  0.0  0.9 65312 19452 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1020  0.0  2.5 73896 51780 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1021  0.0  0.7 40948 15096 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1022  0.1  2.4 84492 51188 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1023  0.0  1.3 59968 28288 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1024  0.1  0.5 29144 11028 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1025  0.0  1.3 61120 26928 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1026  0.0  0.6 43704 13852 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1028  0.1  0.5 29224 11088 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1029  0.1  1.5 50808 32496 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1030  0.1  1.3 53744 28372 ?       D    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1031  0.0  1.7 58536 35484 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1032  0.0  1.1 54888 24384 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1034  0.0  2.1 85908 45320 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1035  0.1  2.0 60688 42160 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1039  0.1  0.5 42080 11144 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1040  0.1  0.6 51304 13328 ?       S    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1043  0.0  0.5 29048 10832 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1044  0.1  0.5 35656 12132 ?       D    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1045  0.1  0.6 33648 13944 ?       D    11:19   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
mysql     1047  1.0  0.2 41724 4356 ?        S    11:19   0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
wwwrun    1048  0.1  1.4 60680 29288 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1049  0.0  1.2 49272 25516 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1050  0.1  0.6 30592 12772 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1051  0.0  0.9 51820 19404 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1052  0.0  1.7 55124 36504 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1053  0.0  0.7 53592 14892 ?       S    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1054  0.0  1.4 68128 29320 ?       D    11:19   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1061  0.1  0.6 44244 12712 ?       S    11:20   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1062  0.1  0.6 30424 12572 ?       S    11:20   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1063  0.0  0.6 58588 14088 ?       S    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1064  0.0  2.0 78016 42176 ?       D    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1066  0.0  0.5 29700 11768 ?       S    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1067  0.1  2.8 86008 58824 ?       D    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1068  0.1  1.9 58500 40564 ?       S    11:20   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1155  0.0  1.0 73440 22072 ?       S    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
mysql     1159  1.1  0.2 41724 4356 ?        S    11:20   0:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
postfix   1160  0.0  0.0  5068 1712 ?        S    11:20   0:00 trivial-rewrite -n rewrite -t unix -u
wwwrun    1163  0.1  2.1 76848 44476 ?       D    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1166  0.0  1.1 53284 22772 ?       D    11:20   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1173  0.0  3.1 106948 64772 ?      S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1255  0.1  1.3 64412 27652 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1261  0.0  2.8 105940 58988 ?      D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1262  0.0  1.7 60480 36556 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1263  0.0  1.7 78128 36000 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1264  0.0  3.0 81428 63076 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1265  0.0  1.7 60776 36856 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1266  0.0  0.5 29176 10856 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1270  0.0  1.7 77716 35188 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1271  0.0  1.7 78908 35360 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1272  0.0  1.3 50072 28680 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1273  0.0  0.5 29144 10860 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1275  0.0  0.8 38276 17328 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1276  0.0  1.9 58108 39880 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1277  0.1  0.5 64492 12368 ?       D    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1279  0.0  0.5 29144 10928 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1280  0.0  0.7 52672 15480 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1281  0.1  0.5 29040 10848 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1282  0.0  0.5 66108 11036 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1285  0.0  0.5 29148 10924 ?       S    11:21   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1292  0.0  1.5 77708 31688 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1293  0.0  1.2 73780 25364 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1347  0.0  1.0 66400 20712 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1348  0.1  1.0 66472 20892 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1349  0.0  0.5 29008 10820 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1385  0.0  0.6 35560 14100 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1386  0.1  1.9 58044 39852 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1387  0.0  0.8 58364 17960 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1388  0.0  0.5 28872 10444 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1389  0.1  1.5 50828 32628 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1391  0.1  0.9 39920 20068 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1392  0.0  2.0 61200 42944 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1393  0.1  0.5 36064 11164 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1395  0.0  0.7 37940 15780 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1396  0.0  1.5 50784 32552 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1397  0.0  1.3 50176 28732 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1399  0.1  0.9 59144 19104 ?       D    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1400  0.0  0.6 33620 13016 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1401  0.0  0.5 48792 11916 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1403  0.0  0.5 29144 10744 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1405  0.0  1.8 57772 39172 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1407  0.1  0.6 58296 13820 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1408  0.0  0.5 29164 10836 ?       S    11:22   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1412  0.0  0.5 67192 12132 ?       S    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1413  0.0  0.7 50508 15840 ?       S    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1414  0.0  0.6 43752 14400 ?       D    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1415  0.0  1.0 45180 21928 ?       S    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1418  0.0  1.9 62288 39560 ?       S    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1419  0.0  0.5 74992 12252 ?       S    11:23   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1426  0.0  0.5 29176 10972 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1427  0.0  1.3 49820 28348 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1517  0.1  0.6 43016 13736 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1518  0.0  1.7 60744 36884 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1519  0.0  1.3 52512 27816 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1521  0.0  0.5 29144 10688 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1522  0.0  1.3 47400 27788 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1523  0.0  1.2 50052 26572 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1524  0.0  0.7 50496 14952 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
mysql     1525  0.8  0.2 41724 4356 ?        S    11:24   0:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql     1526  0.8  0.2 41724 4356 ?        D    11:24   0:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
wwwrun    1527  0.0  1.0 44820 21688 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
mysql     1528  1.0  0.2 41724 4356 ?        S    11:24   0:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
wwwrun    1530  0.0  0.6 54160 13832 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1531  0.0  0.5 52004 11184 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1533  0.2  0.6 52632 12848 ?       S    11:24   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1534  0.0  1.2 73460 26144 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1535  0.0  1.1 73420 24716 ?       D    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1536  0.0  0.9 47404 18736 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1537  0.0  1.5 50712 32444 ?       S    11:24   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1541  0.0  1.5 50812 32504 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1542  0.0  1.8 57772 39176 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1545  0.1  1.1 64020 23624 ?       D    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1546  0.1  0.9 40932 20456 ?       D    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1548  0.0  1.0 44872 21128 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1549  0.0  1.0 57388 21412 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1550  0.0  0.5 51676 12172 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1551  0.1  0.6 48740 14084 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1552  0.0  0.8 67120 17712 ?       D    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1554  0.1  0.9 53284 20068 ?       D    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1555  0.0  0.5 36076 12240 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1556  0.0  0.5 29184 10908 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1558  0.0  0.4 28872 10040 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1559  0.0  1.5 50796 32520 ?       S    11:25   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1655  0.0  0.5 29184 10840 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1656  0.1  1.2 64856 26300 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1657  0.2  0.6 32264 12492 ?       D    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1658  0.0  1.5 50616 32324 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1659  0.0  1.7 58268 37072 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1660  0.0  1.0 40292 21764 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1662  0.0  1.0 44120 21628 ?       D    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1663  0.1  0.5 34232 10972 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1664  0.0  1.0 47140 21820 ?       D    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1665  0.2  1.5 50672 32464 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1666  0.0  0.5 28964 10656 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1667  0.0  0.5 39624 11568 ?       D    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1668  0.1  0.5 29144 10952 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1669  0.0  1.5 54948 31796 ?       S    11:26   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1674  0.0  0.9 65308 19304 ?       D    11:27   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1675  0.0  1.7 60496 36608 ?       D    11:27   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1676  0.1  0.8 38084 18116 ?       D    11:27   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1765  0.1  1.3 50052 28708 ?       D    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1772  0.1  1.0 40292 20948 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1773  0.0  0.4 28872 10036 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1775  0.0  0.5 29144 10772 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1776  0.0  1.7 55040 36132 ?       D    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1777  0.0  1.0 43756 21856 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1778  0.1  0.8 69676 17668 ?       D    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1779  0.2  0.5 31196 12404 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1780  0.0  0.9 58188 19056 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1782  0.3  0.7 54452 16184 ?       D    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1785  0.1  1.9 64728 39500 ?       S    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1786  0.0  0.7 76036 15944 ?       D    11:28   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1790  0.0  0.5 29144 10700 ?       S    11:29   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1791  0.3  0.9 40764 19348 ?       S    11:29   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
postfix   1890  0.0  0.0  5228 1776 ?        S    11:30   0:00 cleanup -z -t unix -u
postfix   1894  0.0  0.0  4356 1640 ?        S    11:30   0:00 local -t unix
wwwrun    1906  0.0  0.6 31684 13224 ?       D    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1907  0.0  0.5 43708 10860 ?       D    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1908  0.1  0.5 46684 11768 ?       S    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1909  0.2  1.5 50592 32772 ?       S    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1910  0.1  0.5 29144 11148 ?       S    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1911  0.1  0.5 50488 11580 ?       S    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1912  0.4  0.5 29144 11264 ?       S    11:30   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root      1913  0.0  0.0     0    0 ?        Z    11:30   0:00 [cron] <defunct>
wwwrun    1916  0.3  0.8 58364 18316 ?       D    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1917  0.3  0.5 33528 11512 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1918  0.5  1.5 50684 32836 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1919  1.1  0.5 29144 11216 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1920  0.1  0.5 29148 11104 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1921  0.0  0.5 28872 10600 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1922  0.5  0.5 29172 11200 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1923  0.8  0.5 29144 11248 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1924  0.0  0.5 38408 11516 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1925  0.8  0.5 28944 11044 ?       S    11:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    1926  0.3  0.1  4436 2596 ?        D    11:31   0:00 /usr/bin/perl /srv/www/htdocs/web0/html/cgi-bin/fileuploader.cgi
root      1927  0.6  0.0  2668  716 pts/8    R    11:31   0:00 ps aux

ich hoffe, ihr könnt helfen. danke im voraus ;)
User avatar
Joe User
Project Manager
Project Manager
Posts: 11165
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by Joe User »

Code: Select all

cat > /etc/cron.hourly/apache2_graceful << "EOF"
#!/bin/sh

/usr/sbin/apache2ctl graceful
EOF
chmod 0755 /etc/cron.hourly/apache2_graceful

Code: Select all

grep -r -i loadmodule /etc/apache2
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

Code: Select all

grep: warning: /etc/apache2/conf: recursive directory loop
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

darf ich fragen, was das genau getan hat? meiner load scheint es gut getan zu haben...

Code: Select all

top - 12:08:37 up 30 min,  1 user,  load average: 1.43, 3.80, 9.66
Tasks: 184 total,   3 running, 178 sleeping,   0 stopped,   3 zombie
Cpu(s):   2.5% user,  19.8% system,   0.0% nice,  77.7% idle
Mem:   2067664k total,  2018040k used,    49624k free,     8644k buffers
Swap:   514072k total,     1404k used,   512668k free,  1276916k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1005 mysql     10   0  4112 4112 2444 S  2.9  0.2   0:13.60 mysqld
 2457 root      11   0  1016 1016  756 R  2.6  0.0   0:04.31 top
 2855 wwwrun     9   0 12372  11m  10m S  2.0  0.6   0:00.23 httpd2-prefork
  997 mysql     12   0  4112 4112 2444 S  1.0  0.2   0:12.16 mysqld
 2456 wwwrun    11   0 16172  14m  14m S  1.0  0.7   0:00.11 httpd2-prefork
    4 root      19  19     0    0    0 S  0.7  0.0   0:04.51 ksoftirqd_CPU1
 2464 wwwrun    11   0 12252  10m  10m R  0.7  0.5   0:00.77 httpd2-prefork
 2603 wwwrun    10   0 46808  44m  43m S  0.7  2.2   0:00.63 httpd2-prefork
    5 root      10   0     0    0    0 S  0.3  0.0   0:02.19 kswapd
 2459 wwwrun    10   0 12076  10m  10m S  0.3  0.5   0:00.04 httpd2-prefork
 2468 wwwrun    10   0 28996  27m  10m S  0.3  1.3   0:01.35 httpd2-prefork
 2474 wwwrun     9   0 49340  47m  46m S  0.3  2.3   0:01.13 httpd2-prefork
 2578 wwwrun    10   0 45684  43m  21m S  0.3  2.2   0:00.33 httpd2-prefork
 2594 wwwrun    10   0 15396  13m  13m S  0.3  0.7   0:00.63 httpd2-prefork
 2606 wwwrun    10   0 19592  17m  17m S  0.3  0.9   0:00.62 httpd2-prefork
 2729 wwwrun    10   0 28320  26m  25m S  0.3  1.3   0:00.14 httpd2-prefork
 2731 wwwrun     9   0 23540  21m  21m S  0.3  1.1   0:00.38 httpd2-prefork
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by flo »

stain79 wrote:darf ich fragen, was das genau getan hat? meiner load scheint es gut getan zu haben...
Den Apache jede Stunde neu starten - mit graceful ;-)

flo.
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

achso, cool ;)
und ihr meint, dass es daran gelegen hat?
load ist jetzt schon wieder auf 10, aber hält sich immernoch im rahmen...mal schauen wies weiter läuft.

danke erstmal ;)
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

war wohl zu früh gefreut. nachdem er über 10 load war, ging er rapide höher, bis ssh abgeschmiert ist und schliesslich auch der ganze server...

welche logs könnte ich euch mal posten damit ihr mehr erfahrt?
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

der server stürzt nun alle 20 minuten ab... load über 60 und dann weg...

wie kann ich sehen, was eine so hohe load verursacht?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11165
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by Joe User »

Lass mal Top mitlaufen (top -d 00.50) und sortiere die Anzeige per <shift>+<p> oder <shift>+<m> und poste die ersten 10 Zeilen nach dem Crash.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
rootmaster
Posts: 483
Joined: 2002-04-28 13:30
Location: Hannover

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by rootmaster »

cpu langweilt sich und frickelt die meiste zeit mit system-prozessen rum, swap okay -> disk contention ;-)

wenn du etwas tiefere kenntnisse bzgl. linux hast,dann kannst du das mal mit iostat (-x) checken.

"back to the roots"
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

er ist nun mal wieder abgestürzt, top läuft aber noch weiter, jedoch sehr sehr langsam...
hier mal ein ausschnitt:

Code: Select all

top - 10:45:53 up 18:54,  1 user,  load average: 65.65, 41.29, 18.87
Tasks: 231 total,   4 running, 224 sleeping,   0 stopped,   3 zombie
Cpu(s):  10.1% user,  58.1% system,   0.0% nice,  31.8% idle
Mem:   2067664k total,  2017836k used,    49828k free,     3412k buffers
Swap:   514072k total,   514072k used,        0k free,   598924k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
29840 mysql      9   0  5604 4752 1760 S 33.7  0.2   0:01.55 mysqld
25843 root      10   0  1032  984  704 R 24.5  0.0   6:29.01 top
29810 wwwrun     9   0  6952 5148 4568 S 12.2  0.2   0:00.26 httpd2-prefork
    5 root      13   0     0    0    0 R  7.7  0.0   2:35.07 kswapd
29657 wwwrun     9   0 57016  53m  28m D  1.5  2.7   0:00.37 httpd2-prefork
29789 wwwrun     9   0 11180 9360 8416 S  1.5  0.5   0:00.18 httpd2-prefork
    1 root       9   0    80   64   44 S  0.0  0.0   0:09.50 init
    2 root       9   0     0    0    0 S  0.0  0.0   0:00.46 keventd
    3 root      19  19     0    0    0 S  0.0  0.0   9:42.94 ksoftirqd_CPU0
    4 root      19  19     0    0    0 S  0.0  0.0   1:16.59 ksoftirqd_CPU1
    6 root       9   0     0    0    0 S  0.0  0.0   0:00.00 bdflush
    7 root       9   0     0    0    0 S  0.0  0.0   0:08.10 kupdated
   11 root       9   0     0    0    0 S  0.0  0.0   0:00.08 khubd

die mysql einträge waren danach aber schon direkt wieder weg:

Code: Select all

top - 10:46:34 up 18:55,  1 user,  load average: 75.49, 47.00, 21.74
Tasks: 256 total,   1 running, 253 sleeping,   0 stopped,   2 zombie
Cpu(s):  13.1% user,  25.2% system,   0.0% nice,  61.7% idle
Mem:   2067664k total,  2019784k used,    47880k free,     2376k buffers
Swap:   514072k total,   514032k used,       40k free,   425396k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25843 root      15   0  1032  984  704 R 15.9  0.0   6:33.07 top
29887 wwwrun    14   0  7116 5308 4584 S 10.6  0.3   0:00.07 httpd2-prefork
29886 wwwrun    10   0  7216 5416 4652 S  5.3  0.3   0:00.19 httpd2-prefork
24835 root      10   0  1624 1296 1164 S  1.8  0.1   0:12.44 sshd
27817 wwwrun    10   0 31924  29m  15m D  1.8  1.5   0:04.79 httpd2-prefork
29009 wwwrun    10   0 43612  41m  11m D  1.8  2.0   0:01.51 httpd2-prefork
29443 wwwrun     9   0 13396  11m  10m S  1.8  0.6   0:01.08 httpd2-prefork
29537 wwwrun     9   0 59668  56m  30m D  1.8  2.8   0:01.37 httpd2-prefork
    1 root       9   0    80   64   44 S  0.0  0.0   0:09.70 init
    2 root       9   0     0    0    0 S  0.0  0.0   0:00.51 keventd
    3 root      19  19     0    0    0 S  0.0  0.0   9:45.43 ksoftirqd_CPU0
    4 root      19  19     0    0    0 S  0.0  0.0   1:16.61 ksoftirqd_CPU1
    5 root       9   0     0    0    0 S  0.0  0.0   2:36.20 kswapd
    6 root       9   0     0    0    0 S  0.0  0.0   0:00.00 bdflush
    7 root       9   0     0    0    0 S  0.0  0.0   0:08.10 kupdated
und nu?
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

so, jetzt ist er zum stillstand gekommen...

Code: Select all

top - 12:10:18 up  1:23,  1 user,  load average: 86.16, 53.77, 27.46
Tasks: 334 total,  88 running, 246 sleeping,   0 stopped,   0 zombie
Cpu(s):   1.5% user,  98.5% system,   0.0% nice,   0.0% idle
Mem:   2067664k total,  2020432k used,    47232k free,     3440k buffers
Swap:   514072k total,   514072k used,        0k free,   832592k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4947 wwwrun    19   0 20740  18m  17m R  3.9  0.9   0:16.09 httpd2-prefork
 5698 wwwrun    20   0 11560  11m  10m R  3.7  0.5   0:00.39 httpd2-prefork
 5701 root      20   0   424  424  336 R  3.7  0.0   0:00.37 sh
    5 root      20   0     0    0    0 R  3.1  0.0   1:01.02 kswapd
 3664 wwwrun    20   0 13484  11m  10m R  3.1  0.6   0:07.14 httpd2-prefork
 4548 wwwrun    20   0 28920  26m  25m R  3.1  1.3   0:17.07 httpd2-prefork
 5601 wwwrun    14   0 11580  11m  10m R  3.1  0.5   0:08.44 httpd2-prefork
 5640 wwwrun    14   0 12220  11m  11m R  3.1  0.6   0:04.85 httpd2-prefork
 5699 wwwrun    20   0 11476  10m  10m R  3.1  0.5   0:00.38 httpd2-prefork
 5700 web0      20   0   700  692  624 R  3.1  0.0   0:00.38 cron
 3049 wwwrun    19   0  9752 7976 7132 R  2.9  0.4   0:07.52 httpd2-prefork
 5534 wwwrun    20   0 15896  15m  12m R  2.9  0.8   0:06.94 httpd2-prefork
 5547 wwwrun    20   0 12340  11m  11m R  2.9  0.6   0:09.70 httpd2-prefork
 5560 root      20   0  6244 6244 1396 R  2.9  0.3   0:14.12 confixx_counter
 5565 wwwrun    14   0 12176  11m  11m R  2.9  0.6   0:04.87 httpd2-prefork
 5576 wwwrun    14   0 16768  16m  13m R  2.9  0.8   0:09.62 httpd2-prefork
 5578 root      14   0  4776 4776 1340 R  2.9  0.2   0:10.39 confixx_counter
 5584 wwwrun    14   0 16944  16m  13m R  2.9  0.8   0:09.92 httpd2-prefork
 5591 wwwrun    14   0 12332  11m  11m R  2.9  0.6   0:04.99 httpd2-prefork
 5605 wwwrun    14   0 12180  11m  11m R  2.9  0.6   0:03.67 httpd2-prefork
 5611 web0      14   0  4660 4660 1472 R  2.9  0.2   0:07.76 mrtg
 5618 wwwrun    14   0 12380  11m  11m R  2.9  0.6   0:05.65 httpd2-prefork
 5622 mysql     14   0  8048 7300 1592 R  2.9  0.4   0:02.23 mysqld
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by alexander newald »

Na ja, ist er noch anzupingen?

PHP als Apache Modul oder mod_perl und irgendein Script, was ein Speicherproblem hat.

Wenn er noch anzupingen ist, per SSH einloggen (evtl. solange warten, bis man drin ist, oder die Verbindung weg ist)
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by flo »

Wie sieht es mit den Datenbanken/Tabellen aus? Erlaubst Du pconnects?

Ziehe eventuell die Anzahl der gleichzeitigen Apachen runter auf einen Wert, den Dein Rechner noch vertragen kann. Als ich so ein Problem mal hatte, war ich IMHO auf 30 oder 40 unten.

flo.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11165
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by Joe User »

Führe doch ersteinmal die Optimierungen aus http://www.rootforum.org/forum/viewtopic.php?t=36741 durch und deaktiviere Confixx (mindestens das pipelog.pl)...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
stain79
Posts: 19
Joined: 2005-09-19 18:16

Re: Hilfe mal wieder!!! Load Average über 60!!! Server stürzt ab

Post by stain79 »

ich habe doch soweit alles optimiert, wie im anderen thread beschrieben...
confixx würde ich ungerne ausschalten.

zu der seite die dort läuft: es ist ein upload/download script, so im stil von rapidshare.de (kennt ihr sicherlich).
zu spitzenzeiten hab ich gestern 40 Mbit/s geschafft, waren halt viele leute, die runtergeladen haben. könnte es sein, dass einfach die festplatte überlastet war vom vielen parallelen runterladen?