Portal Home > Knowledgebase > Articles Database > Apache optimization
Apache optimization
Posted by zontrakulla, 03-08-2010, 06:25 PM |
What should i do?
|
Posted by krishna0312, 03-08-2010, 06:43 PM |
Hello,
Try with this parameters :
Timeout 300
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 3
MaxClients 256
Thanks...
|
Posted by MammothVPS, 03-08-2010, 07:14 PM |
I would start by asking yourself:
1. Given the number of users on your website, does this seem reasonable?
2. Consult your access.log to see what users are actually accessing. Are there pages that are taking too long to respond?
3. What is the load average on the server? Increasing max clients is not a great idea if you are already struggling with the current workload.
|
Posted by sam0, 03-09-2010, 02:52 AM |
You can't be serious? Is that a typo?
|
Posted by ksv2nash, 03-09-2010, 09:33 AM |
Hello,
Just make some following changes in your httpd.conf
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
|
Add to Favourites Print this Article
Also Read