The tomcat initscript fails in many cases for us, the tomcat server needs more time to shutdown all it's applications and running sessions. The attached patch adds a configurable timeout to conf.d/tomcat-6 and uses it in init.d/tomcat-6 For us a default value of 300 seconds works fine, i can't find the default timeout that start-stop-daemon uses documented anywhere Reproducible: Always Steps to Reproduce: 1.Load ~ 5 webapps in server 2.Generate reasonable load ( 250-500 clients in our case) 3. Try to stop the server with the initscript Actual Results: init-script reports fail, server stops a few seconds later Expected Results: init-script should not fail Given that the amount of time to wait is dependent on load, a configurable timeout in conf.d seems the way to go.
Created attachment 211329 [details, diff] timemout patch
Please test 6.0.26-r1 if it's ok now.
Marking this bug as FIXED.