You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron Heeb <ro...@csun.edu> on 2005/07/25 22:16:18 UTC

restarting tomcat in production

hi,

i'm looking for some feedback on whether or not it's a normal procedure 
to regularly restart tomcat.  we have some memory leak somewhere that 
forces us to restart the process every 6-8 days but we're thinking that 
just putting in a script to restart daily would prevent this and may not 
be a bad idea to do even if there wasn't any leak.

any response appreciated.  thanks in advance...ron

-- 
Ron Heeb, Project Leader
Applications Development - Information Technology Resources
California State University, Northridge
18111 Nordhoff St.,  Northridge, CA 91330-8280
ron.heeb@csun.edu




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


Re: restarting tomcat in production

Posted by Christoph Kutzinski <ku...@gmx.de>.
Agreed,
and if you have any session information and the session can't be (for 
whatever reason) be de/serialized, it would indeed be a very bad idea to 
restart tomcat.

Christoph

Robert Harper wrote:
> The best practice is to find the "leak" and fix it. Restarting is a cover up
> to a problem that may cause bigger problems down the road as the project
> scope increases. You "can" do this but it only hides the real problem and if
> someone replicates you site and forgets to write or enable the script, then
> the problem will resurface and you will have to start the discovery process
> all over again.
> 
> Robert S. Harper
> Information Access Technology, Inc.
> -----Original Message-----
> From: Ron Heeb [mailto:ron.heeb@csun.edu] 
> Sent: Monday, July 25, 2005 2:16 PM
> To: tomcat-user@jakarta.apache.org
> Subject: restarting tomcat in production
> 
> hi,
> 
> i'm looking for some feedback on whether or not it's a normal procedure 
> to regularly restart tomcat.  we have some memory leak somewhere that 
> forces us to restart the process every 6-8 days but we're thinking that 
> just putting in a script to restart daily would prevent this and may not 
> be a bad idea to do even if there wasn't any leak.
> 
> any response appreciated.  thanks in advance...ron
> 


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


RE: restarting tomcat in production

Posted by Robert Harper <ro...@iat-cti.com>.
The best practice is to find the "leak" and fix it. Restarting is a cover up
to a problem that may cause bigger problems down the road as the project
scope increases. You "can" do this but it only hides the real problem and if
someone replicates you site and forgets to write or enable the script, then
the problem will resurface and you will have to start the discovery process
all over again.

Robert S. Harper
Information Access Technology, Inc.
-----Original Message-----
From: Ron Heeb [mailto:ron.heeb@csun.edu] 
Sent: Monday, July 25, 2005 2:16 PM
To: tomcat-user@jakarta.apache.org
Subject: restarting tomcat in production

hi,

i'm looking for some feedback on whether or not it's a normal procedure 
to regularly restart tomcat.  we have some memory leak somewhere that 
forces us to restart the process every 6-8 days but we're thinking that 
just putting in a script to restart daily would prevent this and may not 
be a bad idea to do even if there wasn't any leak.

any response appreciated.  thanks in advance...ron

-- 

Ron Heeb, Project Leader
Applications Development - Information Technology Resources
California State University, Northridge
18111 Nordhoff St.,  Northridge, CA 91330-8280
ron.heeb@csun.edu




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





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