On 18/11/2011 18:23, Pid * wrote:
> On 18 Nov 2011, at 15:36, "Jan Vávra" <va...@602.cz> wrote:
> 
>> Hello,
>> is there any way how to tell tomcat: Recycle after X minutes OR Y requests 
>> like it is eg. on the IIS server?
> 
> IIS can reboot itself after N requests?
> That's awesome. What could possibly go wrong?
> 
> I might file an enhancement request for Tomcat...

/me goes to check that the "Veto" stamp is handy...

<snip/>

>> I experience some problems with OutOfMemory error.

Seriously, the right way to fix this is to fix the cause not the
symptom. There are plenty of references in the archives for how to find
and fix memory leaks.

> Wouldn't it be better to understand and fix the OOM, rather than just
> rebooting the server frequently?

A huge +1.

Mark

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

Reply via email to