Maybe too late but...

Using lsof with wc can be misleading. The repeated files you are seeing are the same 
files but for each java thread running. The actual filehandles will be shared amongst 
each thread - so as a _rough_ guide you may want to divide the 4000+ figure by the 
number of java threads ('ps -e | grep java | wc -l').

I can't be 100% sure about RH but it's most likely that it is running a kernel with 
NPTL support. As threads are handled in a completely different way the system will 
only see JBoss under a single process ID - therefore you will only see each open file 
once. (and one 'java' process from 'ps -e')

Another good way to see open file descriptors is to "ls -l /proc/$PID/fd/" where $PID 
is the process id. (Obviously easier with NPTL where there is only one PID).

Hope this helps
Tom.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845302#3845302

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845302


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to