Portal Home > Knowledgebase > Articles Database > Apache ServerLimit Warning
Apache ServerLimit Warning
Posted by fabin, 05-01-2009, 04:25 AM |
I have been seeing this error in my apache error log for a while
Any idea, why apache give out this warning, when its configured as "ServerLimit 1024" in httpd.conf
|
Posted by relichost, 05-01-2009, 08:44 AM |
Hi
Open up your httpd.conf and do a search for ServerLimit and you'll find its set to 10, you need to increase this.
10 seems very low, and its well below the default value (256)
Thanks
* correction, remove that serverLimit from within the prefork and add it outside of your prefork statement.
|
Posted by Mark Muyskens, 05-01-2009, 08:45 AM |
Did you just make the change? Have you restarted the service?
|
Posted by fabin, 05-01-2009, 08:52 AM |
I'm not sure why nowiresltd told to add "ServerLimit 1024" outside prefork. When its added outside prefork, it will display the below error.
Its taking the default value of 256 for ServerLimit when added outside of prefork.
|
Posted by tim2718281, 05-01-2009, 09:55 AM |
I believe ServerLimit has a limit of 256 in Apache 2, and you need to recompile prefork.c to change this.
|
Posted by fabin, 05-02-2009, 03:03 PM |
No one really answered to my real question.
Even though, I'm setting ServerLimit as 1024, apache uses 10 as ServerLimit...
|
Posted by tim2718281, 05-02-2009, 05:30 PM |
Have you checked the error log?
|
Posted by tajidyakub, 05-02-2009, 06:39 PM |
Is it possible that you update the wrong httpd.conf file?
|
Posted by jphilipson, 05-02-2009, 09:20 PM |
It sounds like you may have multiple entries in your conf, some inside the prefork block, some outside, or you are overlooking them in an include file perhaps?
|
Posted by UNIXy, 05-02-2009, 10:09 PM |
Provide the output of:
Regards
|
Posted by fabin, 05-03-2009, 05:37 AM |
jphilipson
I have only one entry for ServerLimit and thats inside prefork.
@UNIXy
Here goes my httpd -V output...
|
Posted by UNIXy, 05-03-2009, 01:05 PM |
If you're still having issues, do this and post back the results:
Best
|
Posted by mainpipe, 05-03-2009, 03:20 PM |
Are you using a Virtuozzo vps?
|
Posted by fabin, 06-14-2009, 01:27 PM |
Yes, i'm using openvz
|
Posted by fabin, 06-14-2009, 01:34 PM |
the values where actually taken from /etc/httpd/conf.d/swtune.conf
http://tektonic.net/forum/showthread.php?p=5828
Thanks mainpipe
|
Posted by mainpipe, 06-14-2009, 04:01 PM |
Glad I could help. I was going nuts myself trying to figure out that problem. Good job finding my post.
|
Add to Favourites Print this Article
Also Read