tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44006] New: - Tomcat hangs on shutdown
Date Sun, 02 Dec 2007 05:28:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44006>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44006

           Summary: Tomcat hangs on shutdown
           Product: Tomcat 6
           Version: 6.0.14
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: cowwoc@bbs.darktech.org


JDK 1.7.0-b23 (32-bit build)
Quad-core 64-bit CPUs
Windows Vista 64-bit

Tomcat seems to hang randomly (approximately 10% of the time) on shutdown if I run:

net start tomcat6
net stop tomcat6 (this fails)

I have the following clues for you:

1) This is not reproducible using startup.bat/shutdown.bat scripts.
2) This is not reproducible without APR.
3) I didn't run into this problem back when I was running Tomcat 6.0.13, single
core 32-bit CPU, same JDK build, with APR installed. Unfortunately, I can't go
back to this hardware because it's gone.
4) The last line in the log reads: "INFO: Stopping Coyote HTTP/1.1 on http-80"
so it looks like it was in the middle of shutting down but something caused it
to hang.

I wanted to debug this further unfortunately I'm not sure how to get you guys a
stack-trace or thread-dump when running Tomcat as a service.

I suspect that something in the native libraries (APR) is at fault. Consider the
fact that I moved to a multi-core CPU, perhaps the APR code has some sort of
race condition that is triggering this. Can you please suggest how I can
generate more debug information for you to investigate? Ideally I'd like to get
a thread-dump at the time of the hang.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message