freebsd中默认apache2性能的优化
Performing sanity check on apache2 configuration:
WARNING: MaxClients of 512 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive.
修改办法:
httpd.conf里面增加
ServerLimit 20000
然后修改
<IfModule prefork.c>
中的
MaxClients 2048