Apache lahmt unglaublich

Apache, Lighttpd, nginx, Cherokee
flancrest
Posts: 27
Joined: 2004-03-08 13:12

Apache lahmt unglaublich

Post by flancrest »

Habe seit gestern ein Problem, meine Apache lahmt unglaublich, Seiten brauchen teilweise 30-40 Sekunden um zu laden.

Auszug aus der error.log

Code: Select all

[Mon Jul 31 15:20:08 2006] [notice] caught SIGTERM, shutting down
[Mon Jul 31 15:21:45 2006] [notice] Apache/2.0.53 (Debian GNU/Linux) PHP/4.3.10-10 configured -- resuming normal operations
[Mon Jul 31 15:21:50 2006] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jul 31 16:31:45 2006] [warn] child process 735 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 736 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 737 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 738 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 739 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 743 still did not exit, sending a SIGTERM
[Mon Jul 31 16:31:45 2006] [warn] child process 746 still did not exit, sending a SIGTERM
Die Maxclients sind nach einem Apache-Restart nach ca. 10 Sekunden wieder erreicht. Mail, ftp, usw laufen mit normaler Geschwindigkeit.

Ich hatte heute auch ungewöhnlich hohen ausgehenden Traffic (ca. 350 MB/Stunde, sonst ca. 50-100 MB) konnte aber in den logfiles nichts auffälliges entdecken.
flancrest
Posts: 27
Joined: 2004-03-08 13:12

Re: Apache lahmt unglaublich

Post by flancrest »

Traffic hat sich mittlerweile wieder normalisiert, Apache läuft leider nach wie vor nicht.

Hier das Ergebnis von netstat:

Code: Select all

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp      166      0 213.239.221.37:80       65.54.188.80:34505      CLOSE_WAIT
tcp      527      0 213.239.221.37:80       66.174.92.164:43446     ESTABLISHED
tcp        0  14480 213.239.221.37:80       66.174.79.227:8443      CLOSE_WAIT
tcp        0      0 127.0.0.1:10025         127.0.0.1:36404         TIME_WAIT
tcp      457      0 213.239.221.37:80       217.132.83.223:62461    CLOSE_WAIT
tcp      457      0 213.239.221.37:80       217.132.83.223:62463    CLOSE_WAIT
tcp      478      0 213.239.221.37:80       84.170.170.112:2115     CLOSE_WAIT
tcp      478      0 213.239.221.37:80       84.170.170.112:2123     CLOSE_WAIT
tcp      486      0 213.239.221.37:80       70.77.145.193:1752      CLOSE_WAIT
tcp      440      0 213.239.221.37:80       205.188.116.200:54982   CLOSE_WAIT
tcp      172      0 213.239.221.37:80       212.227.93.233:1169     ESTABLISHED
tcp        0  14401 213.239.221.37:80       84.130.151.89:1131      LAST_ACK
tcp      596      0 213.239.221.37:80       205.188.116.200:43227   CLOSE_WAIT
tcp      414      0 213.239.221.37:80       207.89.155.81:39600     CLOSE_WAIT
tcp      258      0 213.239.221.37:80       71.28.169.63:61405      CLOSE_WAIT
tcp      662      0 213.239.221.37:80       152.163.101.9:44442     CLOSE_WAIT
tcp      478      0 213.239.221.37:80       84.170.170.112:1057     CLOSE_WAIT
tcp       93      0 213.239.221.37:80       64.235.250.82:1540      CLOSE_WAIT
tcp      481      0 213.239.221.37:80       81.132.219.87:1356      ESTABLISHED
tcp      405      0 213.239.221.37:80       82.43.73.179:1132       CLOSE_WAIT
tcp      452      0 213.239.221.37:80       71.10.231.185:3307      ESTABLISHED
tcp      156      0 213.239.221.37:80       65.54.188.62:13556      CLOSE_WAIT
tcp      495      0 213.239.221.37:80       72.146.167.161:50205    ESTABLISHED
tcp        0  14200 213.239.221.37:80       84.170.170.112:4869     CLOSE_WAIT
tcp      439      0 213.239.221.37:80       205.188.116.200:43919   ESTABLISHED
tcp      594      0 213.239.221.37:80       64.12.116.6:42780       CLOSE_WAIT
tcp      478      0 213.239.221.37:80       84.170.170.112:1054     CLOSE_WAIT
tcp      596      0 213.239.221.37:80       205.188.116.200:49509   CLOSE_WAIT
tcp      596      0 213.239.221.37:80       205.188.116.200:39015   CLOSE_WAIT
tcp      413      0 213.239.221.37:80       207.89.155.81:41492     ESTABLISHED
tcp      412      0 213.239.221.37:80       193.220.24.8:8266       CLOSE_WAIT
tcp      244      0 213.239.221.37:80       59.164.17.247:47928     ESTABLISHED
tcp      412      0 213.239.221.37:80       193.220.24.8:8265       CLOSE_WAIT
tcp      596      0 213.239.221.37:80       205.188.116.200:53105   CLOSE_WAIT
tcp        0  14480 213.239.221.37:80       66.174.79.227:14704     CLOSE_WAIT
tcp      412      0 213.239.221.37:80       193.220.24.8:8260       CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       24.48.175.57:3600       CLOSE_WAIT
tcp        0  14400 213.239.221.37:80       84.130.151.89:2042      CLOSE_WAIT
tcp        0      0 127.0.0.1:36403         127.0.0.1:10025         TIME_WAIT
tcp      461      0 213.239.221.37:80       24.131.149.225:1462     ESTABLISHED
tcp      486      0 213.239.221.37:80       70.77.145.193:1626      CLOSE_WAIT
tcp        0  14601 213.239.221.37:80       71.79.26.48:1219        LAST_ACK
tcp        0  14200 213.239.221.37:80       84.170.170.112:4564     CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       70.77.145.193:1603      CLOSE_WAIT
tcp        0  14480 213.239.221.37:80       66.174.79.227:9507      CLOSE_WAIT
tcp        0  14480 213.239.221.37:80       66.174.79.227:9251      CLOSE_WAIT
tcp      596      0 213.239.221.37:80       205.188.116.200:52519   CLOSE_WAIT
tcp      594      0 213.239.221.37:80       64.12.116.6:50313       CLOSE_WAIT
tcp      486      0 213.239.221.37:80       141.150.255.85:50634    CLOSE_WAIT
tcp      156      0 213.239.221.37:80       65.54.188.62:18240      CLOSE_WAIT
tcp      389      0 213.239.221.37:80       65.93.214.72:61501      CLOSE_WAIT
tcp      389      0 213.239.221.37:80       65.93.214.72:61502      CLOSE_WAIT
tcp        0  14480 213.239.221.37:80       66.174.79.227:15620     CLOSE_WAIT
tcp        0  14200 213.239.221.37:80       84.170.170.112:4755     CLOSE_WAIT
tcp      564      0 213.239.221.37:80       72.75.66.249:1823       ESTABLISHED
tcp        0      0 213.239.221.37:80       64.233.173.80:33289     ESTABLISHED
tcp      458      0 213.239.221.37:80       67.10.69.218:33654      CLOSE_WAIT
tcp        0  13220 213.239.221.37:80       72.75.66.249:1815       CLOSE_WAIT
tcp        0  13220 213.239.221.37:80       72.75.66.249:1801       CLOSE_WAIT
tcp      461      0 213.239.221.37:80       72.75.99.242:1315       ESTABLISHED
tcp      483      0 213.239.221.37:80       68.70.154.141:1448      CLOSE_WAIT
tcp      218      0 213.239.221.37:80       86.57.52.105:4708       CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       68.116.89.218:3335      CLOSE_WAIT
tcp      486      0 213.239.221.37:80       63.246.203.26:8234      CLOSE_WAIT
tcp      167      0 213.239.221.37:80       65.54.188.13:50353      CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       24.154.114.129:62124    CLOSE_WAIT
tcp      205      0 213.239.221.37:80       86.57.52.105:4161       CLOSE_WAIT
tcp      430      0 213.239.221.37:80       4.226.0.25:1751         ESTABLISHED
tcp        0  14601 213.239.221.37:80       154.5.229.78:1926       LAST_ACK
tcp      511      0 213.239.221.37:80       69.0.74.19:1544         CLOSE_WAIT
tcp      150      0 213.239.221.37:80       84.174.56.223:63975     CLOSE_WAIT
tcp      336      0 213.239.221.37:80       69.0.74.19:1542         CLOSE_WAIT
tcp      511      0 213.239.221.37:80       69.0.74.19:1538         CLOSE_WAIT
tcp      511      0 213.239.221.37:80       69.0.74.19:1560         CLOSE_WAIT
tcp      385      0 213.239.221.37:80       64.233.173.80:62292     CLOSE_WAIT
tcp      426      0 213.239.221.37:80       84.44.217.238:58031     ESTABLISHED
tcp      167      0 213.239.221.37:80       65.55.212.41:3200       CLOSE_WAIT
tcp      217      0 213.239.221.37:80       86.57.52.105:4630       CLOSE_WAIT
tcp      336      0 213.239.221.37:80       69.0.74.19:1576         CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       66.69.68.103:4353       CLOSE_WAIT
tcp        0      0 213.239.221.37:80       64.233.173.80:33655     ESTABLISHED
tcp      167      0 213.239.221.37:80       65.54.188.13:54502      CLOSE_WAIT
tcp      458      0 213.239.221.37:80       67.10.69.218:32779      CLOSE_WAIT
tcp      365      0 213.239.221.37:80       142.179.2.137:18856     ESTABLISHED
tcp      448      0 213.239.221.37:80       199.20.121.94:36774     CLOSE_WAIT
tcp      486      0 213.239.221.37:80       24.149.63.12:60725      CLOSE_WAIT
tcp      298      0 213.239.221.37:80       66.249.66.227:37173     CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       74.131.65.58:2154       CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       74.131.65.58:2152       CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       74.131.65.58:2150       CLOSE_WAIT
tcp       93      0 213.239.221.37:80       216.130.161.66:3327     CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       74.131.65.58:2148       CLOSE_WAIT
tcp      167      0 213.239.221.37:80       86.57.52.105:4323       CLOSE_WAIT
tcp      462      0 213.239.221.37:80       70.101.191.238:1102     CLOSE_WAIT
tcp        0  14480 213.239.221.37:80       207.69.138.7:44619      CLOSE_WAIT
tcp      462      0 213.239.221.37:80       70.101.191.238:1095     CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       64.186.84.165:2310      CLOSE_WAIT
tcp      486      0 213.239.221.37:80       63.246.203.26:5530      CLOSE_WAIT
tcp      383      0 213.239.221.37:80       172.178.228.207:61663   ESTABLISHED
tcp        0  14600 213.239.221.37:80       64.186.84.165:2321      CLOSE_WAIT
tcp        0  14600 213.239.221.37:80       74.131.65.58:2137       CLOSE_WAIT
tcp        0      1 213.239.221.37:80       74.131.65.58:2135       LAST_ACK
tcp        0   3404 213.239.221.37:80       84.181.176.3:63144      LAST_ACK
tcp        0   1849 213.239.221.37:80       74.131.65.58:2133       LAST_ACK
tcp        0  14600 213.239.221.37:80       74.131.65.58:2131       CLOSE_WAIT
tcp      215      0 213.239.221.37:80       86.57.52.105:4556       CLOSE_WAIT
tcp      486      0 213.239.221.37:80       216.221.86.181:19991    CLOSE_WAIT
tcp      457      0 213.239.221.37:80       67.10.69.218:33726      ESTABLISHED
tcp        0   4624 213.239.221.37:22       85.212.34.67:2922       ESTABLISHED
tcp      303      0 213.239.221.37:80       66.249.66.227:55163     CLOSE_WAIT
tcp      462      0 213.239.221.37:80       70.101.191.238:1038     CLOSE_WAIT
tcp      511      0 213.239.221.37:80       68.35.30.119:3977       CLOSE_WAIT
tcp      445      0 213.239.221.37:80       67.142.130.49:2546      ESTABLISHED
tcp      485      0 213.239.221.37:80       142.68.194.177:4615     ESTABLISHED
tcp      216      0 213.239.221.37:80       86.57.52.105:4781       CLOSE_WAIT
tcp      167      0 213.239.221.37:80       65.54.188.13:43125      CLOSE_WAIT
tcp       93      0 213.239.221.37:80       65.36.241.76:3173       CLOSE_WAIT
tcp      360      0 213.239.221.37:80       151.213.95.232:60793    ESTABLISHED
tcp      360      0 213.239.221.37:80       151.213.95.232:60796    ESTABLISHED
tcp      360      0 213.239.221.37:80       151.213.95.232:60785    ESTABLISHED
tcp      543      0 213.239.221.37:80       74.131.65.58:2323       CLOSE_WAIT
tcp        0      0 213.239.221.37:80       64.233.173.80:34301     ESTABLISHED
Irgendwie zu viele close_wait, oder?