Hi,

this won't work with JDK1.3 since the server uses the CTRL+C shutdown
hook. But you can get a full thread dump if you hit CTRL+Break. This
works on Windos systems..

-- Juha


On Wed, 26 Jul 2000, Jay Walters wrote:

> You might want to press ^C in the jboss server window on NT to get a stack
> traceback, that way you could find out what the threads are doing...
> 
> -----Original Message-----
> From: Kenneth Topp [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 25, 2000 6:43 PM
> To: jBoss
> Subject: [jBoss-User] still too many threads...
> 
> 
> 
> Hi, 
> 
> I've tried moving to jBoss2 and I'm still seeing too many threads.  
> Although the behavior is different, I get two extra threads per connection
> (instead of 3).
> 
> Now, the client doesn't say it has more threads (using
> Thread.activeCount() ) but that may be because they are in a different
> thread group.
> 
> Another difference is that when the client restarts, the threads are
> reclaimed, (including the excess threads on the ejb server) which was not
> the case with EJBoss 1.  
> 
> Could someone verify this?  with linux threads are listed as separate
> processes so a "ps auxw" should show many java processes.   For NT the
> ntresource kit has a tool "pviewer" that shows the threads (you must click
> refresh for it to update).  I'm still trying to find out procedure for
> listing threads under solaris (it's apparently/unfortunetely not trivial).  
> 
> Of course, from withing java it should be easier to print out such
> diagnostics, although I don't know the code.
> 
> In any case, I'm looking forward using jboss more, It's currently a pain
> to use it as I need to restart frequently...
> 
> Thanks for any advice/code pointers/confirmation,
> 
> Kenneth Topp
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to