|
有2、30个网站,打开网站的速度好慢!我想把进程开到20个左右!
我的apache是2.0版本,请问修改哪一个呢!!!
=====================
MaxKeepAliveRequests 100
KeepAliveTimeout 15
< IfModule prefork.c >
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
< /IfModule >
< IfModule worker.c >
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
< /IfModule >
< IfModule perchild.c >
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
< /IfModule >
< IfModule mpm_winnt.c >
ThreadsPerChild 250
MaxRequestsPerChild 0
< /IfModule >
< IfModule beos.c >
StartThreads 10
MaxClients 50
MaxRequestsPerThread 10000
< /IfModule >
< IfModule mpm_netware.c >
ThreadStackSize 65536
StartThreads 250
MinSpareThreads 25
MaxSpareThreads 250
MaxThreads 1000
MaxRequestsPerChild 0
< /IfModule >
< IfModule mpmt_os2.c >
StartServers 2
MinSpareThreads 5
MaxSpareThreads 10
MaxRequestsPerChild 0
< /IfModule >
=====================
谢谢指点!!! |
|