tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: tomcat hangs, top displays 99%
Date Wed, 21 Jul 2004 13:04:53 GMT
No, it's not built into tomcat to restart without a user command to do
so.  That'd be pretty bad.

How tomcat responds to load depends on where the stress is located.  If
you're throwing too many connections at it, you'll start getting
Connection Refused http error messages from the Coyote connector.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Hans Wichman []
>Sent: Wednesday, July 21, 2004 2:56 AM
>To: Tomcat Users List
>Subject: Re: tomcat hangs, top displays 99%
>sorry for the late reply, I've been allocated to other projects in the
>Nope it doesn't have the header included, but it was worth a shot.
>Does anybody know where can I find information on how tomcat will
>when the load gets to high? Will it start throwing exceptions, or is
>no general response?
>Also it seems that during stresstesting, tomcat restarts, but I don't
>for sure (I see deploy messages).
>Is it build into tomcat to restart periodically?
>At 03:04 PM 7/8/2004, Jon Wingfield wrote:
>>Just a thought. Does your error page also have header.jsp included?
>>Have you got yourself into an infinite loop of "Session already
>>invalidated" IllegalStateExceptions?
>>Hans Wichman wrote:
>>>while stresstesting my application using tomcat 4.1.29, oracle, dbcp
>>>connection pooling and a stresstest tool, I see the amount of my
>>>connections in my pool fluctuate (as expected). At a certain while I
>>>still have plenty connections left in the pool, errors start
>>>org.apache.jasper.JasperException: setAttribute: Session already
>>>and after this has happened for a while (some processing proceeds
>>>normally), I get:
>>>     at
>>>     at
>>>     at
>>>... root cause ...
>>>     at
>>>     at org.apache.jsp.header_jsp._jspService(
>>>     at
>>>at this point tomcat hangs. If I shutdown the stresstest tool, tomcat
>>>still displays at 99% when running top (freebsd).
>>>Does anybody know why these errors occur, and why after stopping the
>>>stresstest, tomcat is still at 99%?
>>>I don't see any out of memory errors or something like that, and
>>>really know where to start exploring the problem.
>>>thanks in advance
>>>Hans W
>>>To unsubscribe, e-mail:
>>>For additional commands, e-mail:
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message