DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5735>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5735

HTTP connector running out of processors under heavy load

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From [EMAIL PROTECTED]  2002-04-17 18:50 -------
I can confirm that we are definately getting this same problem in our 
production environment.  This is a major and urgent issue for us, our business 
is riding on it.  

We are using:

Tomcat 4.0.3
Solaris 2.7
Heap 128 min, 256 max
JSK 1.3.0.2
Thread pool min 5, 255 max

We actually run our of heap at around 140 threads, but are seeing the same 
pattern.

- Things are fine for a while
- At a seemingly randon amount of time (usualy several hours) after restart,
the Catalina log shows thread creation going crazy:

2002-04-17 01:54:03 HttpProcessor[443][11] Starting background thread
2002-04-17 04:51:02 HttpProcessor[443][12] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][13] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][14] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][15] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][16] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][17] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][18] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][19] Starting background thread
2002-04-17 04:52:45 HttpProcessor[443][20] Starting background thread
2002-04-17 04:52:46 HttpProcessor[443][21] Starting background thread
..  ..
..  ..
2002-04-17 04:56:43 HttpProcessor[443][127] Starting background thread
2002-04-17 04:56:43 HttpProcessor[443][128] Starting background thread
2002-04-17 04:56:43 HttpProcessor[443][129] Starting background thread
2002-04-17 06:20:20 HttpConnector Opening server socket on all host IP addresses
2002-04-17 06:20:20 HttpConnector Opening server socket on all host IP addresses

The gap in the log at 4:56 is the server getting an out-of-memory exception and 
becoming unresponsive to further resquests (including shutdown).  We have to 
kill manually and restart.

During this same time people, we see a huge jump in the amount of memory being 
used by the JVM for this process.  I guess that's why we run out of heap, 
before we can run out of threads.

Sorry for the lack of appropriate detail, I am not the sys admin.  Please let 
me know what better information we can provide.  This is happening daily for 
us, in our (24x7) prod system....

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to