提前道歉,如果这是一个愚蠢的问题,我是新来的这一切!
我prefork安装在我确认通过运行的Ubuntu服务器上
aptitude search apache2-mpm-
哪给了我
p apache2-mpm-event - Apache HTTP Server - event driven model p apache2-mpm-itk - multiuser MPM for Apache 2.2 i A apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model p apache2-mpm-worker - Apache HTTP Server - high speed threaded model root@redflagwiki:/etc/apache2/sites-enabled# vi /etc/apache2/apache2.conf root@redflagwiki:/etc/apache2/sites-enabled# aptitude search apache2-mpm- p apache2-mpm-event - Apache HTTP Server - event driven model p apache2-mpm-itk - multiuser MPM for Apache 2.2 i A apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model p apache2-mpm-worker - Apache HTTP Server - high speed threaded model
在我的apache2.conf文件中
<IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 100 MaxRequestsPerChild 0 </IfModule>
但这似乎被忽略,因为服务器允许Apache运行200多次,直到它死亡,然后必须重新启动。
有任何想法吗?