tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
Subject Re: Recovery from OutOfMemoryError?
Date Tue, 31 Jul 2007 17:33:26 GMT
On 31/07/2007, at 7:19 PM, Caldarale, Charles R wrote:

>> From: Craig Berry [mailto:Craig.Berry@portblue.com]
>> Subject: RE: Recovery from OutOfMemoryError?
>>
>> It depends on what the user chooses to do during
>> the session.
>
> Again, try another point of view.  It's what the webapps choose to  
> do in
> response to user requests that provoke the problem.  Is there some  
> spot
> in your code that's making a grab for a big array and failing to  
> handle
> the possibility of allocation failure?  Or have you simply
> over-configured the number of connector threads for the size heap  
> you're
> running?

I would also strongly agree with the fix the problem solution, but if
you really want to 'kick' your users out - then have a look at swatch.
IIRC it can perform a task on receiving a log message.

Cheers

Andrew


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


Mime
View raw message