我在带有 WHM 控制面板的 centos 服务器上使用 Apache 2.4 和事件 MPM。
我已 在 WHM Apache 配置的全局配置中将其设置MinSpareServers
为 50 和55。MaxSparServers
然而,在 Apache 状态中,我只看到 10-15 个 Apache 进程。
导致我的大多数 Apache 插槽在记分卡中显示为空/点“。”。
这是我的 Apache 记分卡:
RR_R__R__RR__RRR______RW__R_____RR_R_____R______RRWRWRR__RRR_R RRRRRRR_R_R..................................... ......................__R___RR__R__________R__R................. ........_RRR___RW________________................................. ................................................................ .........................................................R_R_RR_ __________R__R_R.........................RRRRRR_RRRWRWRRRRRRRRRR RR.............................................................. ................................................................ ................................................................ ...................................RRRRW_RRRRRRWRRRRRRRRRRRRRRR.... .................RRRRRRRRRRRRWRRRRRRR_WRWRRRRRRR_RWRRRRRR RRRRRRR.........................RRRRRRRRWR_RRRRRRRRRRRR_RRR....... ................................................................ ................................................................RRRRRRRR RR_WWRRWRRRRRRR..........................._RR_RRRR_RRRRRR_RR_RRR_R R__RRRRRRRRRR_R_RRRRRR__RR...................................................................... ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................................ ............................................................. ................ ................................................... ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ........................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ........
注意:如果我设置StartServer
为 50 并重新启动服务器,则会启动 50 个进程,但某些程序会终止并将计数恢复到 10-15。
我是不是漏掉了什么?运行的 apache 进程数不应该介于 MaxSpareServers 和 MinSpareServers 定义的值之间吗?