Warning: curl_exec() has been disabled for security reasons in /pub/host/sunboyu/sunboyu/www/wp-includes/http.php on line 1022
2009 五月 28 一个程序猿 孙小一,孙小二,PHP,MYSQL,LINUX,APACHE,原创技术,扯淡

我的apache配置-mpm

作者 : admin 于 2009年05月28日, 23:13:29
2009
05-28
  1. <ifmodule mpm_prefork_module>
  2.     StartServers              2
  3.     MinSpareServers         5
  4.     MaxSpareServers        10
  5.     MaxClients                 128
  6.     MaxRequestsPerChild    5000
  7. </ifmodule>

这个配置基本支撑http的访问,几个博客,一个论坛,还有一个哥们很大的静态并发。

以前使用的是work方式,因为不太了解,经常造成进程崩溃,又切换到了prefork方式,这次调整的比较稳定了。