tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mukarram Baig <>
Subject Why not have tomcat stop force as a synchronous operation
Date Mon, 15 Oct 2012 12:16:58 GMT
In Tomcat 7, when the container is stopped using stop force,
the script uses the CATALINA_PID environment variable to send a kill -9 to
the pid of the currently running container process. However, this doesn't
kill the process
say for e.g. when the process is in the middle of a system call. In this
case, why cant we use the kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 trick
that is used with stop in the non-force mode (in This would
ensure that the stop force is synchronous. Just wanted to know if there are
good reasons why this was not done.

Thanks in advance!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message