I'm guessing that you're using Linux? I was wondering the same thing
recently and what I found is that on Linux, the ps command as well as top
list threads not processes. So, actually, there's just one process for
Tomcat, but, multiple threads. Someone else posted about a command called
pstree. If
David Bazell wrote:
> When I start tomcat and do a ps I see 18 java processes have started. Is
> this normal? Why are they all there?
>
> Thanks,
> Dave
>
>
>
You're probably running on a Linux system, I suppose? Linux displays
threads as process in ps.
--
William Lee (Will)| S
> When I start tomcat and do a ps I see 18 java processes have
> started. Is
> this normal? Why are they all there?
Yes it is. If you want more information try doing a search on this topic in
the archives.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
>My problem is that whenever Tomcat is started, it spawns off at least 30
>processes identified only as java when I do a ps -e command, and each one
of
>these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
>take more than 900 MB of RAM when no one is even hitting the server