Re: Apache Goes Up and Down : server reached MaxClients setting,
"System" <[email protected]> Sat, 19 Jul 2003 13:01:20 +0530
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <00a401c34dc7$c13ac230$1a01a8c0@vishal> |
----- Original Message ----- From: "Keith Mastin" <[email protected]> To: <[email protected]> Sent: Friday, July 18, 2003 10:35 PM Subject: Re: Apache Goes Up and Down : server reached MaxClients setting, > > Hi Tina, > >> > I am running RedHat 7.3/Apache/1.3.27 (Unix) mod_log_bytes/1.2 > >> mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.14 > >> OpenSSL/0.9.6b. > >> > > >> > My Apache server goes up and down very frequently. When i checked > >> the Logs it says : > >> > [Thu Jul 17 22:28:54 2003] [error] server reached MaxClients > >> setting, consider raising the MaxClients setting > >> > > <snip> > >> We need more information. How many domains are being served off this > >> machine, what is the MaxClients, MaxKeepAlive, KeepAliveTimeout, and > >> MaxRequestsPerChild settings? > > MaxClients 256 > > MaxKeepAliveRequests 100 > > KeepAliveTimeout 15 > > MaxRequestsPerChild 0 > > How many domains? The apache defaults are generally good for 1 or 2 > domains but should be performance tweaked beyond that, especially if you > have high-availability needs. If you have a number of domains, you should > maybe look into apache-2.x as the resource handling capability has been > vastly improved and the modules are just about ready for prime time. Check > the 2.0 mailing lists first to reconnoiter any issues (mostly 3rd party > module related) that might arise before making the changeover though. Only One domain on that server with a forum. > > Tina, go back and read the docs on configuring apache (the apache docs, > not the redhat docs). MaxRequestPerChild set to 0 can bring the whole > system down if you're running a poorly written web app process or module > that is leaking memory or other resources. What happens if you set this to > 1000? Can i set that ? > > Also, if you have the memory, try setting the MaxClients to 1000. Check > top to see the memory usage by each child process first, then do the math. > > Are you running an RRS news service or anything else that might have the > client automatically logging in to get updates off one or more of the > domains hosted? Will update you soon when i finished with the checking. > > -- > Keith Mastin > BeechTree Information Technology Services Inc. > Toronto, Canada > (416)696 6070 > > > > _______________________________________________ > enigma-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/enigma-list > > >