LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   optimize httpd.conf (https://www.linuxquestions.org/questions/linux-newbie-8/optimize-httpd-conf-600785/)

arazas 11-19-2007 04:48 AM

optimize httpd.conf
 
I am running Plesk 8 Server, RH Linux EL4 3.0GHz 1GB Ram. My httpd.conf setting is as below:

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 150
MaxRequestsPerChild 1000
</IfModule>


please advise the best optimized values for my server. My server often goes down due to large number of http

gilead 11-19-2007 10:31 PM

Please provide more information. Are you running out of connections/disk space/memory/CPU cycles, etc.? Are you getting errors in your logs?

arazas 11-19-2007 11:39 PM

Quote:

Originally Posted by gilead (Post 2964836)
Please provide more information. Are you running out of connections/disk space/memory/CPU cycles, etc.? Are you getting errors in your logs?


thank you for your reply. My host provider said that I am out of memory so I have upgraded 1gb TO 2gb Ram. Even then i get errors in logs "memory exhausted" and it happends when there are large number of http processes are there. If i see the service httpd status I get at least 6 lines of http process, usually I get only 1 and half line of http process.

gilead 11-20-2007 12:53 PM

Can you post some info from the logs? Somebody here may have had a similar problem and be able to recognise the log data. Unless you're running a high volume site, upgrading to 2GB of RAM should have fixed the problem if it was just "memory exhausted".


All times are GMT -5. The time now is 04:59 AM.