|
From: Cade T. <ca...@ca...> - 2016-02-10 21:49:38
|
Hello Leif, First off thank you so much for the response. I updated the SO question with some additional details. We are running a very old version at 3.3.6 (not sure how to exactly verify this, but that is my best guess). It has been running years without issue, so unfortunately out of site, out of mind. I looked at the /var/log/messages at the time of the SIGKILL, but didn't see anything in there logged from the C code. I'm open to any ideas on how to isolate both the SIGKILL and the hung wrapper. Thanks in advance. --cade On Tue, Feb 9, 2016 at 10:05 PM, Leif Mortenson < lei...@ta...> wrote: > Cade, > I am sorry for the trouble. > I replied to you on Stack Overflow. > Please let me know the version of the Wrapper, OS, and content of your > syslog when the JVM was killed. > > http://stackoverflow.com/questions/35283549/java-service-wrapper-parent-process-is-hung/35306109 > > Thanks, > Leif > > > On Tue, Feb 9, 2016 at 1:41 PM, Cade Thacker <ca...@ca...> wrote: > >> Hello All, >> I'm not sure how to figure this out so figured I would turn to the >> experts. >> >> I documented everything here: >> >> >> http://stackoverflow.com/questions/35283549/java-service-wrapper-parent-process-is-hung >> >> But the simple summary is that when I issue a kill $pid (SIGTERM/15) on >> the wrapper process (the JVM is long dead via something else killing it >> with SIGKILL/9) nothing happens. (this is the same call from stopit() in >> the wrapper.sh distributed by you all. >> >> As documented in the other question, that causes other issues downstream >> because without the wrapper dying correctling, I can't restart them both. >> >> Any ideas on how to best trouble shoot this? I'm not sure what would be >> "stuck" in the wrapper C code so that a SIGTERM would not be properly >> processed? SIGKILL/9 works as expected. >> >> If this was a Java process, I'd get a thread dump and a heap dump, but >> not sure how to attack this C code. Maybe dig through something in >> /proc/$pid? >> >> Any help is incredibly appreciated! >> >> >> -- >> >> --cade >> > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- --cade |