Production Weekly Rolling Tomcat Restarts

Rhys Smith smith at cardiff.ac.uk
Tue Feb 26 17:03:01 EST 2013


Agreed. The members of my IdP cluster (which uses terracotta) are set to reload config files automagically without restarting the container. And so the only time my tomcat instances (6.0) have *ever* been restarted in probably the last two years is when I've done kernel updates on the underlying OS, which I probably do a few times a year.

Many moons ago I restarted them every few weeks, but as Dave said, that was because of memory leak issues that were fixed a long time ago.

Rhys.
--
Dr Rhys Smith
Identity, Access, and Middleware Specialist
Cardiff University & Janet - the UK's research and education network

email: smith at cardiff.ac.uk / rhys.smith at ja.net
GPG: 0xDE2F024C

On 26 Feb 2013, at 20:43, David Langenberg <davel at uchicago.edu> wrote:

> On Feb 26, 2013, at 1:21 PM, David Gersic <dgersic at niu.edu> wrote:
> 
>>>>> On 2/26/2013 at 01:14 PM, "Royder, Kyle D" <kroyder at austin.utexas.edu> wrote: 
>>> shib users:
>>> 
>>> I've inherited a Shibboleth service that includes 3 IdP.  There is a cron 
>>> job on each machine to restart tomcat automatically once a week, on different 
>>> days, for each machine.  I can't find any discussion as to why this was setup 
>>> this way.
>> 
>> Likely it was a workaround for a problem, probably one that has long since been resolved.
> 
> Agreed, long ago there was something in ours that was leaking memory, but that's been fixed for years.
> 
>> 
>> 
>>> Is it normal or recommended for a high traffic IdP tomcat instance 
>>> to be restarted regularly
>> 
>> I'm going with "no" here. I don't restart mine unless there's a problem requiring it, and then I work to ensure that whatever the problem was that it gets resolved and stays resolved so that I don't have to do it again.
> 
> Only reason we restart ours is for system patches or due to config changes that we haven't yet setup to auto-apply.
> 
> Dave
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130226/beaaa9e9/attachment.html 


More information about the users mailing list