tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: java.lang.OutOfMemoryError: Java heap space
Date Sun, 04 Oct 2009 22:16:47 GMT
Joe Hansen wrote:
> I found the following error message in the Apache logs:
> [Sat Oct 03 04:10:49 2009] [error] server reached MaxClients setting,
> consider raising the MaxClients setting
> 
> Here's a snippet from the httpd.conf, which deals with MaxClients.
> <IfModule prefork.c>
> StartServers       8
> MinSpareServers    5
> MaxSpareServers   20
> ServerLimit      256
> MaxClients       256
> MaxRequestsPerChild  4000
> </IfModule>
> 
> <IfModule worker.c>
> StartServers         2
> MaxClients         150
> MinSpareThreads     25
> MaxSpareThreads     75
> ThreadsPerChild     25
> MaxRequestsPerChild  0
> </IfModule>
> 
> I will watch out for the increase in the number of httpd processes. I
> am wondering if I should raise the MaxClients value in prefork.c and
> worker.c modules. Can anyone on this forum please explain why new
> httpd processes are spawned and why aren't the old processes
> terminated?
> 
What are your KeepAlive* settings ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message