2005/8/9, Andreas Fredriksson <[EMAIL PROTECTED]>:
> On 8/9/05, Covington, Chris <[EMAIL PROTECTED]> wrote:
> > I'm running www-servers/tomcat-5.0.28-r4 net-www/apache-2.0.54-r13 and
> > dev-java/sun-jdk-1.4.2.08-r1.  Though tomcat works fine, for some reason
> > I have 56 java processes running each time I restart tomcat?  Anyone
> > know how this could be?
> 
> These are most likely threads, since so many of them share the same
> memory usage.
> 
> Try the various ps options that relate to threads and see if you can
> make the display prettier.
> 
> Regards,
> Andreas
> 
As Andreas told you, you're most likely watching Java threads. I seem
to remember that after installing NPTL (Native Posix Thread Library)
support a Java virtual machine with all its threads maps to just one
linux process, so you would stop seeing that many processes every time
you lanch a multithreaded Java application... anybody can confirm
this?

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list

Reply via email to