You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "D. Jay Newman" <ja...@sprucegrove.com> on 2002/03/21 15:16:23 UTC

Re: many java processes

> On linux did anybody ever get a linux patch for fixing the problem of one process per java thread.  I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading????  I have seen many e-mails complaining about how tomcat creates soooo many processes and this is due to a JVM thing not tomcat.  Does anybody know or is everyone just sitting by with many many java processes on their linux?
> Any help, pointers you could give me would be great,

As near as I can tell, Linux *doesn't* create multiple processes. If you
look closely at the output of "ps" all the java "processes" exist in the
same processes.

Linux (at least RedHat) comes with a "ps" that reports threads as well
as processes.
-- 
D. Jay Newman                      !  All:  There's nothing we can't face...
jay@sprucegrove.com                !  Anya: Except for bunnies...
http://www.sprucegrove.com/~jay/   !    -- Buffy, the Musical

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: many java processes

Posted by Dean Hiller <dh...@avaya.com>.
than why do they all have a different process id??  Also, how what would the option be to turn off viewing of threads and just view processes?
thanks for your help Jay,
Dean

"D. Jay Newman" wrote:

> > On linux did anybody ever get a linux patch for fixing the problem of one process per java thread.  I read on the sun bug parade they were going to port to a new threading model but we needed to update the linux threading????  I have seen many e-mails complaining about how tomcat creates soooo many processes and this is due to a JVM thing not tomcat.  Does anybody know or is everyone just sitting by with many many java processes on their linux?
> > Any help, pointers you could give me would be great,
>
> As near as I can tell, Linux *doesn't* create multiple processes. If you
> look closely at the output of "ps" all the java "processes" exist in the
> same processes.
>
> Linux (at least RedHat) comes with a "ps" that reports threads as well
> as processes.
> --
> D. Jay Newman                      !  All:  There's nothing we can't face...
> jay@sprucegrove.com                !  Anya: Except for bunnies...
> http://www.sprucegrove.com/~jay/   !    -- Buffy, the Musical
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: many java processes

Posted by Erwin Ambrosch <am...@ebutec.com>.
When I do a ps and Tomcat is running I get a different pid for each Java 
(Process?). pstree also says that there are some java (Processes?) are 
running.  Can you say me how I can determine whetere all the Java (Prosesses) 
are belonging to the same process. Are you sure to not missinterpreting a 
father process (root process).

lg Erwin

Am Donnerstag, 21. März 2002 15:16 schrieben Sie:
> > On linux did anybody ever get a linux patch for fixing the problem of one
> > process per java thread.  I read on the sun bug parade they were going to
> > port to a new threading model but we needed to update the linux
> > threading????  I have seen many e-mails complaining about how tomcat
> > creates soooo many processes and this is due to a JVM thing not tomcat. 
> > Does anybody know or is everyone just sitting by with many many java
> > processes on their linux? Any help, pointers you could give me would be
> > great,
>
> As near as I can tell, Linux *doesn't* create multiple processes. If you
> look closely at the output of "ps" all the java "processes" exist in the
> same processes.
>
> Linux (at least RedHat) comes with a "ps" that reports threads as well
> as processes.

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>