tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Bug in Tomcat AJP Connector?
Date Thu, 05 Apr 2012 15:57:51 GMT
2012/4/5 Ofer Israeli <oferi@checkpoint.com>:
> Mark Thomas wrote:
>> On 04/04/2012 17:02, Ofer Israeli wrote:
>>
>> Once you have an OOME all bets are off. The JVM needs to be restarted.
>> There is no guarantee of reliable operation after an OOME.
>>
>> Mark
>
> Hi Mark,
> I agree that there in such a situation the JVM should be restarted, but it isn't restarted
by Tomcat.  On the other hand, Tomcat does take some precautious actions and kills the accepting
thread, but in such a case it should also close the socket that thread is listening on otherwise
it is leaving garbage around after the thread's death.
> Do you see any reason as not to close the listening socket?
>

1. Tomcat does not start JVM  thus it cannot restart it.

You need some external tool or script or admin to perform monitoring
and (re)starts.

2. OOM can happen at a random place. Once it happens, it is likely
that other places will also start to fail randomly. It is also likely
that your attempts to recover will fail as well.

Mark already mentioned it: "all bets are off".

Best regards,
Konstantin Kolinko

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


Mime
View raw message