On Mon, 2008-06-16 at 06:59 +0100, John Gardner wrote:
> Caldarale, Charles R wrote:
> >> -----Original Message-----
> >> From: John Gardner [mailto:[EMAIL PROTECTED]
> >> Subject: Multiple Java processes when using Tomcat
> >>
> >> Normally, I only expect to see 2,3,4 or 5 java processes
> >> associated with the Tomcat user, not all of the above!
> > 
> > http://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q1
> > 
> >  - Chuck
> > 
> > 
> 
> Thanks Chuck...
> 
> This entry is for ps, will this be the same situation for top?

On linux systems, they are part of the same package (procps), and both
top and ps will behave the same way. Your RHEL3 system will likely be
running a 2.4 series kernel. From the procps FAQ:

Why do ps and top show threads individually?

The 2.4.xx kernel does not provide proper support for grouping threads
by
process. Hacks exist to group them anyway, but such hacks will falsely
group
similar tasks and will fail to group tasks due to race conditions. The
hacks
are also slow. As none of this is acceptable in a critical system tool,
task
grouping is not currently available for the 2.4.xx kernel. The 2.6.xx
kernel
allows for proper thread grouping and reporting. To take advantage of
this,
your programs must use a threading library that features the
CLONE_THREAD flag.
The NPTL pthreads provided by recent glibc releases use CLONE_THREAD.

Cheers, Ben


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to