免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1948 | 回复: 0
打印 上一主题 下一主题

[Web] apache server-status问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-18 14:11 |只看该作者 |倒序浏览
服务器apache总是占用99.9%的cpu 看了一下server-status发现几个疑问:
Parent Server Generation: 0
Server uptime: 23 hours 55 minutes 32 seconds
Total accesses: 5196105 - Total Traffic: 22.7 GB
CPU Usage: u99.9 s8 cu0 cs0 - .125% CPU load
60.3 requests/sec - 276.7 kB/second - 4696 B/request
85 requests currently being processed, 171 idle workers

Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

Srv PID Acc M CPU  SS Req Conn Child Slot Client VHost Request

1800个请求中没有pid的1475个M都是"." Open slot with no current process
有pid的才325个 但是其中"_" Waiting for Connection有155个

感觉apache进程堵塞? 谁能指点一下如何进一步分析

apache 2.0.59
<IfModule worker.c>
StartServers         5
ServerLimit         32
ThreadLimit        128
MaxClients        4096
MinSpareThreads    128
MaxSpareThreads    512
ThreadsPerChild    128
MaxRequestsPerChild  50
</IfModule>

运行有php 4.4.4(5.2.5也不行) memcacheclient 2.2.1 jboss4.0.3sp1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP