apache假死问题
httpd.conf添加:
EnableSendfile Off
EnableMMAP off
AcceptFilter http none
AcceptFilter https none
LoadFile "D:/msoft/php/ssleay32.dll"
LoadFile "D:/msoft/php/libeay32.dll"
AddHandler application/x-httpd-php .php
httpd-mpm.conf:
放大连接数。
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 100
MaxRequestWorkers 2500
MaxConnectionsPerChild 100
</IfModule>