Apache überlastet - hängt

Apache, Lighttpd, nginx, Cherokee
perlitz
Posts: 202
Joined: 2003-11-01 12:25

Apache überlastet - hängt

Post by perlitz »

Hallo,

in recht Regelmässigen Abständen, hängt bei mir der Apache... nach nem restart ist alles wieder OK. In den Logfiles kann ich nichts auffälliges endecken :roll:

Netstat haut mich um... top erscheint eher harmlos.

Irgendwelche Tips was hier zu tun ist? Bei der CPU Last hätte ich gesagt, die Kiste hat noch Reservern und maxconnections und Co könnten noch erhöht werden... :?:

Gruß
Andreas

top

Code: Select all

top - 18:44:38 up 1 day, 20:21,  1 user,  load average: 0.25, 0.16, 0.06
Tasks: 255 total,   1 running, 254 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.3% us,  0.5% sy,  0.0% ni, 94.7% id,  0.5% wa,  0.0% hi,  0.1% si
Mem:   2076852k total,  2020692k used,    56160k free,   132552k buffers
Swap:  1052248k total,        4k used,  1052244k free,   758156k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
25419 www-data  15   0 26948  15m  14m S  2.0  0.8   0:00.05 apache2
25433 root      15   0  2192 1076 1852 R  2.0  0.1   0:00.01 top
    1 root      16   0  1504  512 1352 S  0.0  0.0   0:01.75 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root       5 -10     0    0    0 S  0.0  0.0   0:02.30 events/0
    4 root      11 -10     0    0    0 S  0.0  0.0   0:00.00 khelper
    5 root      12 -10     0    0    0 S  0.0  0.0   0:00.00 kacpid
   37 root       5 -10     0    0    0 S  0.0  0.0   0:00.12 kblockd/0
   47 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
   48 root      15   0     0    0    0 S  0.0  0.0   0:00.57 pdflush
   50 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
   49 root      15   0     0    0    0 S  0.0  0.0   0:01.17 kswapd0
  186 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
  204 root      25   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
  227 root       6 -10     0    0    0 S  0.0  0.0   0:00.00 ata/0
  535 root      15   0     0    0    0 S  0.0  0.0   0:01.03 kjournald
  536 root      15   0     0    0    0 S  0.0  0.0   0:00.49 kjournald
  537 root      15   0     0    0    0 S  0.0  0.0   0:00.25 kjournald
  538 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kjournald
  539 root      15   0     0    0    0 S  0.0  0.0   0:00.48 kjournald
  540 root      15   0     0    0    0 S  0.0  0.0   0:00.01 kjournald
  635 root      16   0  1524  476 1360 S  0.0  0.0   0:00.00 dhcpcd-bin
  711 root      16   0  1648  720 1472 S  0.0  0.0   0:05.34 syslogd
  714 root      16   0  2460 1476 1344 S  0.0  0.1   0:00.05 klogd
  791 clamav    16   0  4108 1412 3876 S  0.0  0.1   0:00.08 freshclam
  798 root      16   0  1540  544 1384 S  0.0  0.0   0:01.30 inetd
  995 root      16   0  6664 1764 6276 S  0.0  0.1   0:00.02 saslauthd
  996 root      16   0  6664 1764 6276 S  0.0  0.1   0:00.04 saslauthd
  997 root      16   0  6664 1764 6276 S  0.0  0.1   0:00.06 saslauthd
  998 root      16   0  6664 1764 6276 S  0.0  0.1   0:00.04 saslauthd
  999 root      16   0  6664 1764 6276 S  0.0  0.1   0:00.03 saslauthd
 1010 root      16   0  3468 1500 3092 S  0.0  0.1   0:00.11 sshd
 1014 root      15   0  3060  832 2860 S  0.0  0.0   0:00.01 vsftpd
 1020 root      16   0  3152 3152 2708 S  0.0  0.2   0:00.01 ntpd
 1025 root      15   0  1764  816 1576 S  0.0  0.0   0:00.07 cron
 1037 root      16   0  1500  484 1336 S  0.0  0.0   0:00.00 getty
 1038 root      16   0  1500  488 1336 S  0.0  0.0   0:00.00 getty
 1854 clamav    25   0 41928  30m 3800 S  0.0  1.5   0:08.39 clamd
 1860 amavis    16   0 18556  14m 5568 S  0.0  0.7   0:00.00 amavisd-new
 1861 amavis    22   0 18556  14m 5568 S  0.0  0.7   0:00.00 amavisd-new
 1862 amavis    22   0 18556  14m 5568 S  0.0  0.7   0:00.00 amavisd-new
 1975 root      16   0  2968 1156 2780 S  0.0  0.1   0:03.72 master
28629 root      16   0 10800 6528 6716 S  0.0  0.3   0:00.24 miniserv.pl
19147 root      16   0 29880  25m 6384 S  0.0  1.2   0:02.06 spamd
26027 root      16   0 25600  13m  14m S  0.0  0.7   0:02.58 apache2
20450 snort     15   0 53740  49m 2284 S  0.0  2.4   0:27.17 snort
23244 root      23   0  4460 1324 4216 S  0.0  0.1   0:00.01 mysqld_safe
23280 root      23   0  4460 1328 4216 S  0.0  0.1   0:00.00 mysqld_safe
23281 mysql     16   0  159m  59m 6552 S  0.0  3.0   0:00.56 mysqld
23282 root      23   0  3496  548 3336 S  0.0  0.0   0:00.00 logger
 2872 root      15   0  3044 1368 2576 S  0.0  0.1   0:03.90 pipelog.pl
 2878 root      17   0 21024  11m  10m S  0.0  0.5   0:00.00 apache2
12320 postfix   15   0  3008 1232 2820 S  0.0  0.1   0:00.27 qmgr
netstat -at

Code: Select all

Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:10024         *:*                     LISTEN
tcp        0      0 localhost:10025         *:*                     LISTEN
tcp        0      0 localhost:mysql         *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
tcp        0      0 localhost:spamd         *:*                     LISTEN
tcp        0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1079  SYN_RECV
tcp        0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1102  SYN_RECV
tcp        0      0 *:ftp                   *:*                     LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 prx-lamp-008.de:https   *:*                     LISTEN
tcp        0      0 prx-lamp-008.de:https   *:*                     LISTEN
tcp        0      0 prx-lamp-008.de:48997   prx-lamp-008.de:https   TIME_WAIT
tcp        0      0 prx-lamp-008.de:48996   prx-lamp-008.de:https   TIME_WAIT
tcp        0      0 prx-lamp-008.de:48998   prx-lamp-008.de:https   TIME_WAIT
tcp        0      0 prx-lamp-008.de:48995   prx-lamp-008.de:https   TIME_WAIT
tcp        0      0 prx-lamp-008.de:smtp    clmboh-mx-12.mgw.:30358 TIME_WAIT
tcp        0      0 localhost:48994         localhost:spamd         TIME_WAIT
tcp        0      0 localhost:48993         localhost:spamd         TIME_WAIT
tcp        0      0 prx-lamp-008.de:smtp    124.91.151.74:2477      TIME_WAIT
tcp        0      0 prx-lamp-008.de:pop3    dslb-084-060-174-:33173 TIME_WAIT
tcp        0      0 prx-lamp-008.de:smtp    mail.openbc.com:49950   TIME_WAIT
tcp6       0      0 *:www                   *:*                     LISTEN
tcp6       0      0 *:ssh                   *:*                     LISTEN
tcp6       0      0 *:smtp                  *:*                     LISTEN
tcp6       1      0 prx-lamp-008.de:www     ::ffff:125.181.92.:1544 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     c911c8f1.bhz.virtu:4887 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     c90666c7.static.sp:1693 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.194.74.:2837 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:121.139.133:1664 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.103.176:2871 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     p54AB72B3.dip.t-di:1802 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     207-226-167-50.bt:61430 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.38.203.1:3593 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.45.195.:1326 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.194.74.:3409 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.148.39.5:3123 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.38.203.1:1833 CLOSE_WAIT
tcp6       0   2178 prx-lamp-008.de:www     p54B9C5AC.dip0.t-i:1163 LAST_ACK
tcp6       0  13068 prx-lamp-008.de:www     p54B9C5AC.dip0.t-i:1155 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.109.226:3984 CLOSE_WAIT
tcp6       0  13068 prx-lamp-008.de:www     p54B9C5AC.dip0.t-i:1101 CLOSE_WAIT
tcp6       0  13068 prx-lamp-008.de:www     p54B9C5AC.dip0.t-i:1095 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ven69-1-82-235-15:44903 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.227.190:2612 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     nodomaintransfer2:54983 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     ::ffff:61.129.51.1:2558 VERBUNDEN
tcp6       1      0 prx-lamp-008.de:www     ::ffff:218.153.39.:4704 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     224.Red-80-24-124:60841 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     224.Red-80-24-124:60847 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.162.76.:4686 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:218.56.8.72:2993 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:82.117.206.:2123 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     www.moet.edu.vn:4877    CLOSE_WAIT
tcp6       0   9916 prx-lamp-008.de:www     p5085B06C.dip0.t-:57493 LAST_ACK
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.34.210.1:3668 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:218.56.8.72:3464 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     mvx-200-142-98-22.:1288 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:59.150.129.:1189 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     www.moet.edu.vn:4156    CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.34.210.1:3686 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.235.94.2:1088 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     p54A1B6AA.dip0.t-i:1746 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     www.moet.edu.vn:4182    CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     p54A1B6AA.dip0.t-i:1745 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.103.230:1113 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.143.190:4065 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:59.22.182.1:2903 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:218.153.39.:3072 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.162.76.:1330 CLOSE_WAIT
tcp6       0  13140 prx-lamp-008.de:www     ip186.26.1411G-CU:61041 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     softbank2181231521:2839 VERBUNDEN
tcp6       1      0 prx-lamp-008.de:www     ::ffff:219.232.38:32939 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.34.210.1:4035 CLOSE_WAIT
tcp6       0    532 prx-lamp-008.de:www     dialin-145-254-177:1589 FIN_WAIT1
tcp6       1      0 prx-lamp-008.de:www     ::ffff:59.13.220.9:4554 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.162.76.:3789 CLOSE_WAIT
tcp6       0    617 prx-lamp-008.de:www     N414d.n.pppool.de:2117  LAST_ACK
tcp6       1      0 prx-lamp-008.de:www     ::ffff:200.150.129:1804 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     211-232-42-182.nex:3996 VERBUNDEN
tcp6       1      0 prx-lamp-008.de:www     114-46-249-85.mast:4025 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     59-120-5-209.HINET:2636 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:221.162.76.:1929 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     089156189101.chell:3444 CLOSE_WAIT
tcp6       0    836 prx-lamp-008.de:www     p50805ABE.dip.t-di:1454 LAST_ACK
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.143.5.15:3541 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:124.51.70.1:1883 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.143.190:1102 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:202.63.113.:4649 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.34.210.1:3517 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     211-232-42-182.nex:4524 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     ::ffff:201.53.7.7:2076  CLOSE_WAIT
tcp6       1  13140 prx-lamp-008.de:www     ::ffff:59.4.4.84:3449   CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     lj612250.inktomis:34935 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.219.6.2:1033 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     host-69-144-162-24:2019 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.219.6.2:1032 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     msnbot.msn.com:58615    CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.246.136.:3511 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:69.41.171.:36706 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     c951b7bc.virtua.co:4457 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.231.139:2292 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1085  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     c-71-233-6-149.hsd:1140 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1084  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:69.41.171.:44888 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1087  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1086  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1081  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:socks TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1083  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.231.139.:fax CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1082  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:220.126.231:4162 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1075  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1074  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:1251 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:3566 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     server1.onfirehos:52756 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-13-90-81.dsl.t:4506 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:ssh     212.123.9.213.dsl.:2245 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1104  TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     host-200-76-36-19:52950 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1103  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1097  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1096  TIME_WAIT
tcp6       0  13068 prx-lamp-008.de:www     p548F77C0.dip.t-di:1344 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1098  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.d:proofd TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1092  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1095  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:rootd TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     server1.onfirehos:56075 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1089  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1088  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1091  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     lj612052.inktomis:49314 TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     Nda25.n.pppool.de:1090  TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     221x241x144x203.ap:4581 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     c951b7bc.virtua.co:3601 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-13-90-81.dsl.t:3262 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     msnbot.msn.com:39047    CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-13-90-81.dsl.t:3258 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:1725 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     msnbot.msn.com:43847    TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:62.87.67.2:55694 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:220.83.138.:4900 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     host-201-151-81-22:3980 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versan:proofd TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versanet:1092 TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versanet:1095 TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:140.115.117:1114 VERBUNDEN
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.246.136.:2342 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versane:rootd TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:200.21.137.:2041 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versanet:1090 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     c-71-233-6-149.hsd:1221 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.246.136.:4144 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:59.29.195.5:4005 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-13-25-242.dsl.:3946 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:1651 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     69.50.161.18-cust:34302 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:59.29.195.5:3464 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     hide58.wspan.com:13769  CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.50.92.9:4187 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:59.23.181.1:3239 VERBUNDEN
tcp6       1      0 prx-lamp-008.de:www     201154044097-wifi-:1478 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:221.231.139:1065 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     sgt2-t2-2.mcbone.:56056 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:4610 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.219.6.2:3285 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:4411 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:218.238.39.:4772 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:59.23.181.1:2294 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versanet:1085 TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versanet:1084 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-13-90-81.dsl.t:4645 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     iD45D13AC.versane:socks TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:140.115.117:1319 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     host-69-144-162-24:2076 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     lj612036.inktomis:34298 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:64.25.77.3:40852 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     69-165-170-152.atl:2731 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     69-165-170-15:afmbackup CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-10-143-141.pvo:2609 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:38745 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:46168 TIME_WAIT
tcp6       0      0 prx-lamp-008.de:www     pD9E07A30.dip.t-d:61025 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:164.58.221.:4411 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     c906c335.virtua.co:3846 CLOSE_WAIT
tcp6       0      1 prx-lamp-008.de:www     crawl-66-249-72-3:47204 LAST_ACK
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.195.178:4835 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:203.232.74.:3957 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.143.40.1:4662 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     cache-frr-aa02.pr:51082 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:45948 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:210.91.51.4:2257 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:45314 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:64.25.77.3:56769 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:200.6.176.1:1375 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:151.2.171.:44294 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.114.82.:4522 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     c906d5fb.virtua.co:4181 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     c-67-165-73-83.hsd:3645 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.114.82.:4528 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     mnch-d9bd9046.poo:61935 TIME_WAIT
tcp6       0   1029 prx-lamp-008.de:www     mnch-d9bd9046.poo:61920 FIN_WAIT1
tcp6       1      0 prx-lamp-008.de:www     ::ffff:195.146.152:1532 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:61.79.48.23:4564 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:220.123.254:2061 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:47414 VERBUNDEN
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:45506 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.51.162.:4079 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     lj611398.inktomis:45389 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.114.82.:2373 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.72.32.25:2586 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:220.123.254:3014 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:201.220.75.:3577 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ip-97-19.telesat.c:3157 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     201-70-92-14.rec.m:4471 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.99.218.:3307 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     DSL217-132-221-211:4380 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     user-12l2ocn.cable:1078 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.169.69.:3560 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:58.225.164.:3140 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:222.114.82.:4905 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ba-202-56.etp.net.:4632 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     ::ffff:222.51.175.:3998 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     crawl-66-249-72-3:45735 TIME_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:164.58.221.:4554 CLOSE_WAIT
tcp6       1      0 prx-lamp-008.de:www     ::ffff:211.169.69.:4318 CLOSE_WAIT
tcp6       0      0 prx-lamp-008.de:www     i5387A1BF.versanet:1614 TIME_WAIT
lsof -l | grep -n apache2 | wc -l

Code: Select all

15002
apache.conf

Code: Select all

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

<IfModule prefork.c>
StartServers         8
MinSpareServers      8
MaxSpareServers     12
MaxClients          200
MaxRequestsPerChild  100
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
AcceptMutex fcntl
...
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53

Re: Apache überlastet - hängt

Post by Roger Wilco »

Perlitz wrote:Irgendwelche Tips was hier zu tun ist?
Die Prozesslimits deines Apache an deine Hardware anpassen. Ich würde sagen, da geht noch einiges von der Hardware her...

http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
http://httpd.apache.org/docs/2.0/mod/mpm_common.html
http://httpd.apache.org/docs/2.0/mod/prefork.html