Created attachment 34828 [details] Thread dump Hi All, Our application installed on linux server is using Apache Tomcat 7.0.23. Once in every 15 days(sometimes before) it stops unexpectedly with no exceptions. We took thread dump and found out one deadlock which could be the reason of unresponsive application. "http-bio-8080-exec-6457" daemon prio=10 tid=0x00007fbec04fc800 nid=0x5739 waiting for monitor entry [0x00007fbea1c33000] waiting to lock <0x00007fbeefcb53e0> (a [Ljava.util.jar.JarFile;) Setting for connector <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" /> Find attached thread dump.
I don't see a deadlock there, the other thread holding the lock for 0x00007fbeefcb53e0 will proceed and release it at some point. Please investigate the performance issue on the user mailing list instead.
(In reply to Remy Maucherat from comment #1) > I don't see a deadlock there, the other thread holding the lock for > 0x00007fbeefcb53e0 will proceed and release it at some point. > > Please investigate the performance issue on the user mailing list instead. I could see similar problems: https://bz.apache.org/bugzilla/show_bug.cgi?id=57779 https://bz.apache.org/bugzilla/show_bug.cgi?id=53173 And the thread is in blocked state.
(In reply to Preeti Negi from comment #2) > (In reply to Remy Maucherat from comment #1) > > I don't see a deadlock there, the other thread holding the lock for > > 0x00007fbeefcb53e0 will proceed and release it at some point. > > > > Please investigate the performance issue on the user mailing list instead. Indeed. There is no bug here. > I could see similar problems: Those are not similar. Help with how to read thread dumps is available via the users list. <snip/> > And the thread is in blocked state. BLOCKED != deadlock This belongs on the users mailing list.
(In reply to Mark Thomas from comment #3) > (In reply to Preeti Negi from comment #2) > > (In reply to Remy Maucherat from comment #1) > > > I don't see a deadlock there, the other thread holding the lock for > > > 0x00007fbeefcb53e0 will proceed and release it at some point. > > > > > > Please investigate the performance issue on the user mailing list instead. > > Indeed. There is no bug here. > > > I could see similar problems: > > Those are not similar. Help with how to read thread dumps is available via > the users list. > > <snip/> > > > And the thread is in blocked state. > > BLOCKED != deadlock > > This belongs on the users mailing list. Yes my mistake I wrote Deadlock instead of BLOCKED. But from online dump analyzer, it says, it could be a reason of unresponsive application. I am new here. Kindly tell me what is users mailing list ?
Please read http://tomcat.apache.org/lists.html#tomcat-users. The users mailing list is the place where to ask how to use Tomcat, how to configure it, etc. You can also answer someone else's questions if you know the answer. Bugzilla is used for bug reports and enhancement requests. It is always better to discuss the bug/enhancement in the mailing lists first.