Christopher Schultz wrote:

Maybe use DMPJVM? Sorry for the through-Google link [PDF]:

THANKS! Never heard of such a thing until you brought it to my attention, and it's enough of an eye-opener that I would have gladly forgiven even a through-LMGTFY link.

DMPJVM looks like it may be just the thing. I don't want to risk unnecessarily disrupting anybody right now, but later this afternoon, I'm going to run some test shutdowns.

Among the responses I got on java40...@midrange.com, one fellow user remarked that he'd been seeing the same phenomenon, and another had this comment:
Tomcat won't shut down while there are non-daemon threads running.

Still another turned me on to WRKJVMJOB (yet another command I'd never heard of). Applying option 11 of that ("Display Threads") to the QP0ZSPWT job (the only active QP0ZSPWT in the system, evidently slaved to the CATALINA job), I get:
 Thread      Name              Status
 0000515F    main              TIMW
 00005162    JIT Compilatio >  THDW
 00005164    JVMTI event re >  THDW
 00005165    Signal Dispatc >  THDW
 00005167    Gc Slave Thread   THDW
 00005168    i5/OS informat >  JVAW
 0000516A    MemoryPoolMXBe >  THDW
 0000516B    Attach API wai >  SEMW
 0000516C    GC Daemon         THDW
 0000516D    Finalizer thread  THDW
 00005172    ContainerBackg >  THDW
 00005173    http-bio-8080- >  TIMW
 00005174    http-bio-8080- >  THDW
 00005175    http-bio-443-A >  TIMW
 00005176    http-bio-443-A >  THDW
 00005177    ajp-bio-8009-A >  TIMW
 00005178    ajp-bio-8009-A >  THDW
 000051BB    http-bio-443-e >  THDW
 000051BC    http-bio-443-e >  THDW
 000051BD    http-bio-443-e >  THDW
 000051BE    http-bio-443-e >  THDW
 000051BF    http-bio-8080- >  THDW
 000051C0    http-bio-8080- >  THDW
 000051C1    http-bio-8080- >  THDW
 000051C4    http-bio-443-e >  THDW
 000051DD    http-bio-443-e >  THDW
 000051DE    http-bio-443-e >  THDW
 000051DF    http-bio-443-e >  THDW
 000051E0    http-bio-443-e >  THDW
 000051E1    http-bio-443-e >  THDW
 000051E8    Java2D Disposer   THDW
 000051F6    http-bio-8080- >  THDW
 000051F7    http-bio-8080- >  THDW
 000051F8    http-bio-8080- >  THDW
 000051F9    http-bio-8080- >  THDW
 000051FA    http-bio-8080- >  THDW
 000051FC    http-bio-8080- >  THDW
 0000520B    http-bio-8080- >  THDW
(funny, a few seconds ago, it didn't have nearly that many threads; evidently it is indeed currently in use). I note that option 12 appears to be plumbed into DMPJVM.

--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to