http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3597 Summary: Shutting down takes *ages* Product: Tomcat 4 Version: Nightly Build Platform: Other OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I just timed the shutdown process of an out-the-box Tomcat 4.0 install, with the preinstalled 4 webapps. It takes 2 minutes on my pentium 3. 0% CPU usage. Is this usual? By "shutdown process", I mean the time from the invocation of "./shutdown.sh" till the point at which all Tomcat threads actually die (as reported by 'ps'). Here is the log output of what I'd consider a normal shutdown. Nothing untoward, just the last few lines take forever. [jeff@kermit bin]$ date ; ./shutdown.sh Fri Sep 14 11:19:07 EST 2001 Using CLASSPATH: /home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist/bin/bootstrap.jar:/usr/local/jdk/lib/tools.jar Using CATALINA_BASE: /home/jeff/tc Using CATALINA_HOME: /home/jeff/apache/jakarta/jakarta-tomcat-4.0/dist Using JAVA_HOME: /usr/local/jdk [jeff@kermit bin]$ 2001-09-14 12:19:10 HttpProcessor[8080][4] Stopping background thread 2001-09-14 12:19:10 HttpProcessor[8080][3] Stopping background thread 2001-09-14 12:19:10 HttpProcessor[8080][2] Stopping background thread 2001-09-14 12:19:10 HttpProcessor[8080][1] Stopping background thread 2001-09-14 12:19:10 HttpProcessor[8080][0] Stopping background thread 2001-09-14 12:19:10 HttpConnector[8080] Stopping background thread ==> ../logs/catalina.out <== Stopping service Tomcat-Standalone ==> ../logs/localhost_log.2001-09-14.txt <== 2001-09-14 12:19:15 StandardHost[localhost]: Removing web application at context path /examples 2001-09-14 12:19:15 SessionListener: contextDestroyed() 2001-09-14 12:19:15 ContextListener: contextDestroyed() 2001-09-14 12:20:04 StandardHost[localhost]: Removing web application at context path /webdav 2001-09-14 12:20:07 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2001-09-14 12:20:15 StandardHost[localhost]: Removing web application at context path /manager 2001-09-14 12:21:07 StandardHost[localhost]: Removing web application at context path --Jeff
