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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.