最新下载
热门教程
- 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.microsoft.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 这样是不生效的
相关文章
- 哈利波特魔法觉醒拼图寻宝格兰芬多塔楼线索位置攻略 08-01
- 金铲铲之战中秋挑战活动怎么玩?中秋双人大作战玩法介绍 08-01
- 《魔法少女小圆MagiaExedra》月卡可获取奖励一览 08-01
- 《地下城堡4》军团战通关攻略 08-01
- 《地下城堡4》惊悸荒野小屋解密攻略 08-01
- 币圈三大主流交易所详解 币安 Coinbase 火币对比分析 08-01