Hi,
I'm not sure if anyone can help but its worth a try.
Background:Linode 2GB Plan + Fedora 21 + Apache
Currently, there are no clients as the Development team is testing the application for production readiness.
ProblemInitially, the server response was great but now it is very slow. If a Tester tries to upload 10 photos the server can take up to 1 minute to upload, and in some cases the server times out. In previous weeks, this would take only 5-7 seconds.
Actions1) No configuration changes were made that could explain the sudden slow response, the issue seems to have just started on its own.
2) I am not sure if this has to do with Apache settings, so I started looking into the MaxClients directive. I noticed that there was no directives in the initial httpd.conf file.
3) Based on the Linode Guide below, I decided to add the MaxClients directive into the httpd.conf file as outlined. I did some calculations to determine the MaxClients value and the number based on processes running and RAM is 36. However, I kept the value of 30 shown in the Linode Guide.
ResultsThe response it still slow, with no apparent gains.
Questions1) Does anyone know if this is correct and will this directive work for both port 80 and 443?
2) Also, is the module setting significant (prefork, worker, event)?
3) I am not sure what module was used when installing Apache, is there a way to check?
Any assistance and/or direction is much appreciated.
Thanks,
R
-----------------httpd.conf------------------------
KeepAlive Off
<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 6
MaxSpareServers 12
MaxClients 30
MaxRequestsPerChild 3000
</IfModule>
-----------------httpd.conf------------------------
Linode Guide
https://www.linode.com/docs/websites/ho ... -linode-1g