-
1. Re: jboss 3.0.6 on RedHat 6.2
jonlee May 28, 2003 11:57 AM (in response to jecardenas)See this thread:
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= Linux will show a thread as a process in it's own right. pstree shows the actual parent process and the child processes. So your 45 processes are actually one real process with multiple threads (marked as children) - note that they all have the same RSS if you "ps aux".
They may have altered ps in RedHat 8.0 to only show the parent. -
2. Re: jboss 3.0.6 on RedHat 6.2
jonlee May 28, 2003 12:07 PM (in response to jecardenas)To confirm:
RedHat 8.0 has a patched procps 2.0.7 that shows only processes, not threads. procps 2.0.10 (general release) also incorporates same. -m in ps and H key in top shows threads with the 2.0.10 release. -
3. Re: jboss 3.0.6 on RedHat 6.2
jecardenas May 28, 2003 12:26 PM (in response to jecardenas)Thank you jonlee.
I didn't know this reason. Now I understand because happens it. -
4. Re: jboss 3.0.6 on RedHat 6.2
jecardenas May 28, 2003 12:45 PM (in response to jecardenas)One more question jonlee.
When I do shutdown to jboss server and after I do ps -fe, it shows me a list with some java machines as zombie processes. Why happens it?
I do correctly shutdown with:
shutdown.sh server port
Could be that the shutdown script doesn't close all threads??
Thank you a lot!!! -
5. Re: jboss 3.0.6 on RedHat 6.2
jonlee May 28, 2003 9:46 PM (in response to jecardenas)There shouldn't be any zombie processes after a shutdown. However, it may be a while before all threads get cleaned up. The script will most likely return before the JBoss server processes themselves are shutdown. If you ps just after the script returns, you will most likely see some zombies as the server is still in the process of shutting down. Give it time and they should all disappear. If they don't, then you might have some problems.
-
6. Re: jboss 3.0.6 on RedHat 6.2
jecardenas May 29, 2003 3:19 PM (in response to jecardenas)I agree with you, all server processes should be shutdown when I run the script.
I will do new tests to found possible problems in my application.
Thank you for your help.
Jk