最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
apache lowering ThreadsPerChild to 1000怎么解决
时间:2022-06-30 17:50:35 编辑:袖梨 来源:一聚教程网
错误报告
事件类型: 错误
事件来源: Apache Service
事件种类: 无
事件 ID: 3299
日期: 2016-1-29
事件: 8:55:12
用户: N/A
计算机: i-5091ecfp
描述:
The Apache service named reported the following error:
>>> lowering ThreadsPerChild to 1000. To increase, please see the .
有关更多信息,请参阅在 http://go.**micr*osoft.com/fwlink/events.asp 的帮助和支持中心。
解决办法
ThreadsPerChild:每个服务进程中的工作线程数目
ThreadLimit要大于ThreadsPerChild
编辑httpd-mpm.conf 文件,加入ServerLimit指令即可。
StartServers 10
MinSpareServers 5
MaxSpareServers 25
ServerLimit 1500
MaxClients 1000
MaxRequestsPerChild 128
关于apache使用prefork还是worker工作模式可以在编译apache时指定,默认是prefork工作模式,可以使用/home/apache/bin/apachectl -l 命令查看,要想配置生效必须./apachectl stop 然后./apachectl start ,不能使用./apachectl restart 这样是不生效的
相关文章
- 王者荣耀世界零氪玩家如何生存 07-28
- 快手极速版怎么绑定手机号 07-28
- 明日方舟和轻松小熊联动活动内容一览 07-28
- 逆战未来黎明之光 逆战未来黎明之光玩法机制与新手入门指南 07-28
- 植物大战僵尸融合版毁灭土豆地雷介绍 07-28
- 逆战未来飓风之龙 逆战未来飓风之龙武器获取方法详解 07-28