Bug#561559: Unreliable init script
Arto Jantunen
viiru at debian.org
Fri Dec 18 08:23:22 UTC 2009
Package: tomcat6
Version: 6.0.20-8
The stop action of the init script fails to stop the service in
several cases, the most common being when Tomcat runs out of memory
(the garbage collector runs in a tight loop using 100% cpu).
A quick workaround that seems to work is doing kill -9 `cat
/var/run/tomcat6.pid' and retrying the stop action.
Anyway the script should notice that "$DAEMON -cp "$JSVC_CLASSPATH"
-pidfile "$CATALINA_PID" -stop "$BOOTSTRAP_CLASS"" returned with an
error, and take action to force the daemon to stop.
--
Arto Jantunen
More information about the pkg-java-maintainers
mailing list