High load site help !! Optimize Kloxo for High Traffic Sites [message #98329] |
Sun, 27 May 2012 01:25  |
|
i have one have have 500-1200 users online and 6,529,108 page views every months
my page load is 10s
my server i7 24gb ram
i use sh /script/apache-optimize --select=optimize --spare=10240
php -v
PHP 5.2.17 (cli) (built: Feb 16 2012 23:29:39)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
with the ionCube PHP Loader v4.0.14, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
cat /etc/*release
CentOS release 5.8 (Final)
Server version: Apache/2.2.22 (Unix)
Server built: Feb 1 2012 18:59:25
sh /script/version
6.1.12
cat /etc/httpd/conf.d/~lxcenter.conf
Timeout 150
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 2
MinSpareServers 225
MaxSpareServers 450
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
MaxMemFree 2
</IfModule>
<IfModule itk.c>
StartServers 2
MinSpareServers 225
MaxSpareServers 450
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
MaxMemFree 2
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 192
MaxSpareThreads 385
ThreadsPerChild 25
MaxRequestsPerChild 0
ThreadStackSize 8196
MaxMemFree 2
</IfModule>
<IfModule event.c>
StartServers 2
MaxClients 150
MinSpareThreads 192
MaxSpareThreads 385
ThreadsPerChild 25
MaxRequestsPerChild 0
ThreadStackSize 8196
MaxMemFree 2
</IfModule>
Include /home/apache/conf/exclusive/*.conf
Include /home/apache/conf/defaults/*.conf
Include /home/apache/conf/domains/*.conf
Include /home/apache/conf/redirects/*.conf
Include /home/apache/conf/webmails/*.conf
Include /home/apache/conf/wildcards/*.conf
|
|
|
|