You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Ralph Schaer <sc...@ess.ch> on 2000/07/11 17:36:22 UTC

a lot of processes

hi

strange behaviour

I have a linux computer with red hat 6.2, tomcat 3.1 and the newest
beta (07/10/2000) of the linux jdk 1.3 from sun.

When I start tomcat with jdk1.3 and then check the processes with "ps"
I see a lot of "java" processes (about 30). With jdk1.2.2 I have only
one "java" process.

But the funny thing is that my webapplication is working without any
problem.

Does someone notice the same problem?

Ralph


Re: a lot of processes

Posted by Fergus Gallagher <Fe...@OrbisUK.com>.
There is a possibly related question I asked ages ago (but got no reply) 
that each tomcat process seems to open multiple file handles to the log 
files.  This causes our installation to keel over from time to time.  So if 
you have 10  "pseudo" threads as described below, then I get 60 open file 
descriptors. :-)

Fergus

At 09:47 11/07/00 -0600, Curtis Stanford wrote:
>These are probably the multiple native threads running within the VM. The 
>ps output is misleading as each thread is shown using the same amount of 
>memory when, in fact, all the threads together are using that memory. Each 
>ps entry you see is a native thread.
>
>At 05:36 PM 00/07/11 +0200, Ralph Schaer wrote:
>
>>hi
>>
>>strange behaviour
>>
>>I have a linux computer with red hat 6.2, tomcat 3.1 and the newest
>>beta (07/10/2000) of the linux jdk 1.3 from sun.
>>
>>When I start tomcat with jdk1.3 and then check the processes with "ps"
>>I see a lot of "java" processes (about 30). With jdk1.2.2 I have only
>>one "java" process.
>>
>>But the funny thing is that my webapplication is working without any
>>problem.
>>
>>Does someone notice the same problem?
>>
>>Ralph
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: general-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: general-help@jakarta.apache.org

--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717


Re: a lot of processes

Posted by Rob Walker <rw...@airflash.com>.
Ralph Schaer wrote:

> strange behaviour
>
> I have a linux computer with red hat 6.2, tomcat 3.1 and the newest
> beta (07/10/2000) of the linux jdk 1.3 from sun.
>
> When I start tomcat with jdk1.3 and then check the processes with "ps"
> I see a lot of "java" processes (about 30). With jdk1.2.2 I have only
> one "java" process.
>
> But the funny thing is that my webapplication is working without any
> problem.
>
> Does someone notice the same problem?

Jdk 1.3 probably uses native threads, which (under Linux 2.2 kernels)
each have a process descriptor.

-Rob


Re: a lot of processes

Posted by Curtis Stanford <cu...@linuxfreak.com>.
These are probably the multiple native threads running within the VM. The 
ps output is misleading as each thread is shown using the same amount of 
memory when, in fact, all the threads together are using that memory. Each 
ps entry you see is a native thread.

At 05:36 PM 00/07/11 +0200, Ralph Schaer wrote:

>hi
>
>strange behaviour
>
>I have a linux computer with red hat 6.2, tomcat 3.1 and the newest
>beta (07/10/2000) of the linux jdk 1.3 from sun.
>
>When I start tomcat with jdk1.3 and then check the processes with "ps"
>I see a lot of "java" processes (about 30). With jdk1.2.2 I have only
>one "java" process.
>
>But the funny thing is that my webapplication is working without any
>problem.
>
>Does someone notice the same problem?
>
>Ralph
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: general-help@jakarta.apache.org