JBoss isn't actually creating that many processes (and yes you're correct processes 
are much heavier wieght than threads).  The ps command when using kernels prior to 
2.6, and the 2.6 kernel when not using NPTL, shows every thread as a process.  So what 
you're seeing is one JBoss process and a bunch of threads that it created.  If you 
want to see something really scarey do an lsof on each "process" and it will appear 
that JBoss is holding open hundreds of file decriptors if not thousands.  This too is 
untrue, instead each "process"/thread reports all the descriptors currently open by 
any jboss thread.

If you are using kernel 2.6 with the new NPTL threading library you'd see what you'd 
expect to see.  One JBoss process in the process list.

So despite the fact that it looks really bad what you're seeing is actually just fine.

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827414#3827414";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827414>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to