logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Maxrequestworkers ?
Author
jeeakooma



Joined: 10 Jun 2015
Posts: 1
Location: USA

PostPosted: Mon 29 Jun '15 17:31    Post subject: Maxrequestworkers ? Reply with quote

Hi All,

I support a company website on Apache with 4GB of RAM. We've had issues lately with RAM bottoming out and the site becoming slow or unreachable.

I managed to be running 'top' when the site went down recently, and noticed that the number of running Apache processes had gone from around 9 to well over 70. A colleague suggested that I increase Maxrequestworkers (was at 150 at the time), which I did to 250.

That seemed to reduce the incidence of RAM bottoming, however it still seems to be a problem occasionally. I've read arguments for both increasing and decreasing Maxrequestworkers - can someone tell me which direction to go?

I should also mention my server is currently configured with the following numbers:

timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

Thanks for your help!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Jul '15 12:51    Post subject: Reply with quote

There is a perl script that can help you finding the correct config

http://check-httpd-limits.googlecode.com/svn/trunk/check_httpd_limits.pl
Back to top


Reply to topic   Topic: Maxrequestworkers ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache