tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [OT] Tomcat on Linux
Date Thu, 16 Sep 2010 16:45:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicholas,

On 9/16/2010 11:48 AM, Nicholas Sushkin wrote:
> On Thursday, September 16, 2010 11:14:27 Christopher Schultz wrote:
>>
>> Actually, we do a full JVM shutdown and restart whenever we do
>> deployments. This happens every 6 months or so, so I can't actually
>> claim that Tomcat has been running for years. If we never updated our
>> webapps, I'm sure it would run for years, too. In fact, if we did a
>> REDEPLOY instead of a JVM bounce, I'm sure it would run for years.
> 
> Well, Tomcat has been known to leak memory on REDEPLOY. That's why I asked.
> I have to restart JVM on redeploy, just in case. Maybe it'll be better in 7 
> and as libraries fix bugs.

I have never had trouble with Tomcat leaking any memory no redeploy. Can
you provide evidence that Tomcat leaks memory on redeploy? Whenever a
leak is detected on redeploy, it has almost always been the fault of the
webapp itself: usually not being careful to release resources that
prevent the WebappClassLoader, and therefore all the Class objects, from
being released.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkySSaMACgkQ9CaO5/Lv0PBzogCfU2wqy/N9X15XDE6LKNLuu3Ku
URMAoLy+fMT0RkAaj/d2SVOFgwj4EY/E
=2RGk
-----END PGP SIGNATURE-----

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


Mime
View raw message