-
1. Re: Multiple Jboss Proccesses
dimitris Jul 2, 2008 9:10 AM (in response to idweiss)This must have to do with the threading model of the O/S. It shows as different processes the threads inside the single JBoss process.
It has nothing to do with JBoss. -
2. Re: Multiple Jboss Proccesses
rafaelliu Jul 2, 2008 10:18 AM (in response to idweiss)Interesting. My guess:
I've already heard about threading in Solaris, but never saw it, as I now Solaris have a lightweight threads and Java can use them, so threads started may be seem in ps. That must be it, threads are being launched. I may be Tomcat, how many processes are started? Tomcat uses a Thread Pool, so check server.xml and see if the numbers (e.g. max, min) match what you see. (suposing your app doesn't use threads itself) -
3. Re: Multiple Jboss Proccesses
idweiss Jul 6, 2008 4:28 AM (in response to idweiss)Thanks for the responses.
The extra processes reflect JBoss threads for the following reasons:
I've never see Solaris threads shown as processes before.
We start only a single JBoss process,
Also I've seen that each one of these additional processes do take memory (3Gb, as the original JBoss process), and when I stop them the memory is released.
The extra processes are seen only a few hours after JBoss is running, and not consistently. -
4. Re: Multiple Jboss Proccesses
project17 Nov 6, 2008 5:56 AM (in response to idweiss)Hi idweiss ,
We are having the same issue, with exactly the same configuration.
So finally :
- Are the entries processes or threads ?
- Are they consuming or sharing the memory ?
- Is there a command to chack what's the real memory consumption ?
Thanks. -
5. Re: Multiple Jboss Proccesses
peterj Nov 6, 2008 11:17 AM (in response to idweiss)The entries are threads and they are sharing memory.
For real memory consumption, about the best way I know how is to note the difference in memory usage as reported by top with the app running and not running. For a full discussion, see http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html