[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Jboss Server Crashed ! ! !
do-not-reply at jboss.com
Thu Sep 25 12:37:48 EDT 2008
You cannot go by the memory sizes given by ps. In other words, if you add up the memory used by all processes the sum will be much larger than the actual amount of memory used, mainly because any shared libraries and shared memory areas appear physically only once in memory but are listed for each process that uses them. For a detailed explanation, see http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html
And because of the threading model you are using, each thread for the java processes running JBossAS will show the same memory, so it looks like a lot more memory being used than what it really is.
Finally, it is typical for an application server to have dozens of threads when it first starts, and then grow to hundreds of threads as it gets busy. With your threading model, you will end up with hundreds on process entries.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178871#4178871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178871
More information about the jboss-user