RE: How can I tell if Tomcat is shutting down

2010-02-06 Thread evebill8
Got it, thanks for the pointer! Billy n828cl wrote: > >> From: evebill8 [mailto:evebi...@hotmail.com] >> Subject: How can I tell if Tomcat is shutting down >> >> I want to run some clean up routines before the Tomcat is >> shutting down. > > Read sec

Re: Heap size rule for Tomcat 5.5

2010-02-06 Thread evebill8
Got it! My app is very read intensive so I try to cache lots of objects into the RAM. Therefore, I like to allocate more RAM to the heap since RAM is cheap now. Thanks for your advise! Billy Peter Crowther wrote: > > On 5 February 2010 18:05, evebill8 wrote: > >> Cool!

Re: Heap size rule for Tomcat 5.5

2010-02-05 Thread evebill8
Cool! I just want to confirm if the rule is right. My IT guy also does not believe it. Billy Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Evebill8, > > On 2/5/2010 1:08 AM, evebill8 wrote: >> I heard the rule to set the T

Heap size rule for Tomcat 5.5

2010-02-04 Thread evebill8
I heard the rule to set the Tomcat's heap size is 2/3 of the memory. We are running Tomcat 5.5 on the 64-bit Linux. The box has 16GB of RAM, and we just allocate 8GB to heap. If the rule is true, this means I can allow at least 10GB to Tomcat, and leave 6GB to the OS. Please correct me if I am

How can I tell if Tomcat is shutting down

2010-02-04 Thread evebill8
Hi folks, I want to run some clean up routines before the Tomcat is shutting down. Not all the clean up routines are in the servlets so I cannot depend on the destroy method. In addition, I need the routines are being run before objects are destructed by the shut down. Thanks! -- View this