tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregor Schneider <rc4...@googlemail.com>
Subject Re: The question of automatic restart Tomcat
Date Tue, 13 Apr 2010 20:19:30 GMT
On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin
<jon.brisbin@npcinternational.com> wrote:
> We use automatic restarts on OutOfMemory errors and it works fantastically. I don't do
it the way described here, though. I use the JVM's -XX:OnOutOfMemoryError option. I add the
following to CATALINA_OPTS:
>
> -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
>
I'm not aware of that option within my standard sun jdk 1.6.x - what
Java-version are you running offering this really useful feature?

Cheers

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

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


Mime
View raw message