Jump to content

Apache becomes unresponsive after several days


bhayzone

Recommended Posts

Hello All,

 

I am facing this problem in production since a very long time now. Made several changes but it keeps surfacing. I need some help in isolating/identifying/understanding the actual cause of this problem. What can I do to analyze this issue. From where can I get more information about what apache is doing or its state when it crashes.

 

The problem:

==========

We have a Tomcat server (port 8080) running behind an Apache HTTP Server (port 80). Every once it a couple of weeks, the application just becomes unreachable when going through Apache. However the application can be reached by going directly to Tomcat i.e. by adding 8080 to the URL. Production users are not supposed to be using 8080, we have just kept it open for debugging purposes.

 

We have the following in the httpd.conf.

 

Timeout 120

KeepAlive Off

MaxKeepAliveRequests 100

KeepAliveTimeout 15

 

<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>

 

 

..

..

..

JkOptions +ForwardURICompatUnparsed

JkMount /* tomcat

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.