LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2007, 05:48 AM   #1
arazas
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 11-19-2007, 11:31 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Please provide more information. Are you running out of connections/disk space/memory/CPU cycles, etc.? Are you getting errors in your logs?
 
Old 11-20-2007, 12:39 AM   #3
arazas
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gilead View Post
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.
 
Old 11-20-2007, 01:53 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
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".

Last edited by gilead; 11-20-2007 at 05:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please amend apache conf/httpd.conf file please payjoe Linux - Newbie 7 09-21-2007 06:12 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
Should I include srm.conf in httpd.conf in apache2? xpucto Linux - Software 3 02-16-2006 09:16 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration