tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: java processes created by tomcat
Date Tue, 17 Jun 2003 10:39:28 GMT
siddharth wrote:
> hello,
> 
> 
> I am running following servers on my linux machine

The JVM you use use clone() to create threads. Each thread looks like one 
process for ps, top etc. That is normal.

> 
> 1. tomcat4 ---- using many JSPs and Servlets
> 2. apache
> 3. qmail
> 4. postgresql
> etc.
> 
> Tomcat is the only process which is usijg java.
> 
> when i do 'top' and 'sort by memory usage' i get
> following output.
> 
> -----------------------------------------------------
> 
>  2:10pm  up  5:24,  5 users,  load average: 0.22,
> 0.52, 0.83
> 168 processes: 166 sleeping, 2 running, 0 zombie, 0
> stopped
> CPU states:  1.1% user, 17.6% system,  0.0% nice,
> 81.1% idle
> Mem:   384416K av,  381356K used,    3060K free,
> 2324K shrd,   11720K buff
> Swap:  522072K av,   60548K used,  461524K free
>            71616K cached

I have 29 java processes for Tomcat.

> 
> 
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM
>   TIME COMMAND
>  9458 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:24 java
>  9489 root       8   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9490 root       9   0  118M 115M 23768 S     0.0 30.8
>   1:45 java
>  9491 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9495 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:01 java
>  9502 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9537 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9538 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9539 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:05 java
>  9639 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9717 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9719 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9720 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9721 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9723 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9724 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9725 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9726 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9727 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9728 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9729 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9730 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9731 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9732 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9733 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9734 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9735 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9736 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9737 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9738 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9739 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9740 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9741 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9742 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
>  9743 root       9   0  118M 115M 23768 S     0.0 30.8
>   0:00 java
> 
> -----------------------------------------------------
> 
> ***
> Notice that first page displayed by output of 'top' is
> full of JAVA processes ...
> 
> 
> is this a problem ? because my machine is getting
> heavily loaded. ( with around 400 MB of RAM )
> 
> 
> 
> please help
> 
> thanks.
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message