亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3141 | 回復: 5
打印 上一主題 下一主題

[Web] 求助:apache出現(xiàn)資源耗盡,導致宕機 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-12-17 10:57 |只看該作者 |倒序瀏覽
redhat as 3 + php4

用了3年了,今天突然出現(xiàn)這樣的情況,啟動apache后,服務器馬上資源被耗盡,幾乎沒有反應,關掉apache,之后系統(tǒng)就正常

error_log的日志
[Mon Dec 17 10:06:22 2007] [error] [client 202.108.23.56] (13)Permission denied: access to /~zbzxx/OTHER/JIAOSHI/cfol/source
/tools/Alarm Clock/sonar.wav denied, referer: http://202.108.23.172/index.html
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/1-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/4-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/2-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/3-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/6-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/5-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/7-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/8-1.gif, referer: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:23 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/de_files/top2.jpg, referer
: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:24 2007] [error] [client 124.134.37.248] File does not exist: /home/wenyuan/www/de_files/itembg.gif, refer
er: http://host.zdjw.gov.cn/~wenyuan/
[Mon Dec 17 10:06:26 2007] [warn] child process 1334 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1335 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1336 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1337 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1338 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1339 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1340 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1341 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1342 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1343 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1344 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1345 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1352 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1353 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1355 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1356 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1361 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1334 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1335 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1336 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1337 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1338 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1339 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1340 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1341 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1342 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1343 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1353 still did not exit, sending a SIGTERM
[Mon Dec 17 10:06:26 2007] [warn] child process 1361 still did not exit, sending a SIGTERM

[ 本帖最后由 yu10101 于 2007-12-17 13:43 編輯 ]

論壇徽章:
0
2 [報告]
發(fā)表于 2007-12-17 11:18 |只看該作者

回復 #1 yu10101 的帖子

PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
    7 root      20   0     0    0     0 SW   25.5  0.0   0:56   1 kswapd
    8 root      15   0     0    0     0 SW    6.6  0.0   0:13   1 kscand
1014 mysql     16   0 10436 1196   108 D     2.9  0.0   0:02   1 mysqld
1433 nobody    16   0     0    0     0 Z     2.3  0.0   0:01   1 httpd <defunct>
1443 nobody    16   0  130M 128M 16704 D     2.1  6.3   0:01   0 httpd
1447 nobody    16   0  127M 125M 15140 D     2.1  6.2   0:00   1 httpd
1440 nobody    16   0  130M 128M 16732 D     2.0  6.4   0:00   1 httpd
1417 nobody    16   0  167M  18M     4 D     1.9  0.9   0:01   1 httpd
1416 nobody    16   0  167M  18M     4 D     1.8  0.9   0:01   0 httpd
1422 nobody    15   0  167M  18M     4 D     1.8  0.9   0:01   1 httpd
1434 nobody    16   0  130M 128M 16812 D     1.8  6.4   0:00   0 httpd
1418 nobody    16   0  167M  19M     4 D     1.6  0.9   0:01   0 httpd
1428 nobody    16   0  168M  18M     4 D     1.6  0.9   0:01   0 httpd
1442 nobody    15   0  130M 128M 16764 D     1.6  6.4   0:00   1 httpd
1420 nobody    15   0  169M  21M     4 D     1.5  1.0   0:01   1 httpd
1425 nobody    15   0  167M  20M     8 D     1.5  1.0   0:01   1 httpd
1444 nobody    15   0  130M 128M 16704 D     1.5  6.3   0:00   0 httpd
1445 nobody    15   0  115M 114M  9328 D     1.5  5.6   0:00   0 httpd
1391 root      16   0   560  524   308 R     1.4  0.0   0:03   0 top
1419 nobody    15   0  168M  16M     4 D     1.4  0.8   0:01   1 httpd
1421 nobody    16   0  172M  22M     4 D     1.4  1.1   0:01   1 httpd
1424 nobody    16   0  167M  20M     4 D     1.4  1.0   0:01   1 httpd
1438 nobody    15   0  130M 129M 16856 D     1.4  6.4   0:00   1 httpd

top出現(xiàn)上述內(nèi)容,覺得非常不正常

論壇徽章:
0
3 [報告]
發(fā)表于 2007-12-17 20:22 |只看該作者
同問一下,我也遇過這個問題。
top里看,我是swap用的相對多一些,所以出現(xiàn)這個情況。

論壇徽章:
0
4 [報告]
發(fā)表于 2007-12-17 22:06 |只看該作者
有人用syn攻擊你了?

你吧你的apache的maxclient減小,不要這樣不給自己留余地嘛,這么干是愚蠢的表現(xiàn)!

[ 本帖最后由 evil_knight 于 2007-12-17 22:07 編輯 ]

論壇徽章:
0
5 [報告]
發(fā)表于 2007-12-18 11:48 |只看該作者
找到原因了,是因為一個網(wǎng)站的的代碼有問題,謝謝大家

論壇徽章:
0
6 [報告]
發(fā)表于 2007-12-18 13:17 |只看該作者
兄弟 你管理的是百度的服務器
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP