[Apache] worker 방식 접속자 튜닝방법
1) 일일 Access log size 500M 이하 ( 기본설정 )
MaxKeepAliveRequests 1024
< IfModule mpm_worker_module >
StartServers 8
ServerLimit 16
MaxClients 1024
MinSpareThreads 64
MaxSpareThreads 512
ThreadsPerChild 64
MaxRequestsPerChild 0
< /IfModule >
2) 일일 Access log size 500M ~ 1G
MaxKeepAliveRequests 2048
< IfModule mpm_worker_module >
StartServers 16
ServerLimit 32
MaxClients 2048
MinSpareThreads 256
MaxSpareThreads 1024
ThreadsPerChild 64
MaxRequestsPerChild 0
< /IfModule >
3) 일일 Access log size 1G ~ 2G
MaxKeepAliveRequests 4096
< IfModule mpm_worker_module >
StartServers 8
ServerLimit 32
MaxClients 4096
MinSpareThreads 1024
MaxSpareThreads 2048
ThreadsPerChild 128
MaxRequestsPerChild 0
< /IfModule >
출저 : http://seroot.com/?page=29
2012/02/08 18:20 2012/02/08 18:20