Kernel: Out of Memory: Killed process 5524 (httpd)

Jay Berryman jay.berryman at sitel.com
Tue Jun 1 20:05:02 UTC 2004


Here is part of my httpd.conf file that lists what those values are.  If
they are ste to high, what is a good number to set them to?




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



> <IfModule worker.c>
> StartServers         2
> MaxClients         150
> MinSpareThreads     25
> MaxSpareThreads     75
> ThreadsPerChild     25
> MaxRequestsPerChild  0
> </IfModule>



> <IfModule perchild.c>
> NumServers           5
> StartThreads         5
> MinSpareThreads      5
> MaxSpareThreads     10
> MaxThreadsPerChild  20
> MaxRequestsPerChild  0
> </IfModule>




On Tue, 2004-06-01 at 15:00, Jonathan Bartlett wrote:

> My gues is that you have MaxClients set way too high.
> 
> Jon
> 
> On Tue, 1 Jun 2004, Jay Berryman wrote:
> 
> > I have been seeing the following error messages in /var/log/messages
> > every couple of days.
> >
> > kernel: Out of Memory: Killed process 5524 (httpd)
> >
> >  These type of messages continue on through the log until the server
> > crashes.  I believe it is a memory leak in apache, but I have no idea
> > what is causing it.  I am currently running RedHat 9.0 on kernel
> > 2.4.20-8smp with apache version 2.0.40.   The server is completly up to
> > date with the latest redhat bugfixes and errata.  Any help on this issue
> > would be greatly apreciated.  Thanks.
> >
> > --
> > Jay Berryman
> > Systems Engineer, RHCT
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >

-- 
Jay Berryman
Systems Engineer, RHCT

This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and
confidential.  If the reader of the message is not the intended
recipient, or the authorized agent of the intended recipient, you are
hereby notified that any dissemination of this communication is strictly
prohibited.  If you have received this communication in error, please
notify SITEL immediately by telephone at 402.963.6001 and delete the
message and any attachments from your system.  Thank you for your
cooperation.



More information about the redhat-list mailing list