You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Galbayar <ga...@mobicom.mn> on 2002/03/12 03:03:35 UTC

Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Hello all
Here is part of top output. Is it usual that java
processes eat all of memory? ? At now there are 50 java processes started
that running tomcat and each of them uses 59M memory. There is running
apache
server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed.
how to solve this problem?

106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
wap: 1020116K av, 0K used, 1020116K free 762320K cached

3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java


Re: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Posted by Hari Yellina <ap...@iprimus.com.au>.
Hi Oyundalai,

Those 23M shown in top are the amount of shared memory being used, and is
not the amount being used by each individual process.

Out of interest, because I can't find it in your email, which version of
tomcat are you using?.

And also have you tried jdk1.3, as this is a more proven series of JVM's?

Regards and best wishes,
Justin Clift
http://techdocs.postgresql.org


----- Original Message -----
From: "Oyundalai.N.S" <oy...@mobicom.mn>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 2:50 PM
Subject: Re: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)


> In addtition, after restarting tomcat memory usage of each java processes
> decreases until 23M each
> and grows up slowly.
> Please see output of top that sorted by memory usage. . And after several
> days it reaches up to 60M
> each and crashes. Apache is working normally all time.
>
> 11:47am  up 7 days, 17:15,  2 users,  load average: 0.01, 0.03, 0.08
> 111 processes: 110 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  0.0% user,  1.7% system,  0.0% nice, 98.2% idle
> Mem:  1028860K av,  961188K used,   67672K free,     116K shrd,  139632K
> buff
> Swap: 1020116K av,       0K used, 1020116K free                  705172K
> cached
>
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 18492 root       9   0 26536  25M  9576 S     0.0  2.5   0:03 java
> 18493 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18494 root       9   0 26536  25M  9576 S     0.0  2.5   0:01 java
> 18495 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18496 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18497 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18498 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18499 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18500 root       9   0 26536  25M  9576 S     0.0  2.5   0:01 java
> 18503 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18504 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18507 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18508 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18509 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18510 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18511 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18512 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18513 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18514 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18515 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18516 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18517 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18518 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18519 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18520 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18529 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18535 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18538 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18539 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18544 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18545 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18546 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18556 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18557 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18558 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18600 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18602 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18605 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
> 18526 nobody     9   0  4968 4968  4608 S     0.0  0.4   0:00 httpd
> 18532 nobody     9   0  4780 4780  4368 S     0.0  0.4   0:00 httpd
> 18531 nobody     9   0  4768 4768  4396 S     0.0  0.4   0:00 httpd
> 18525 nobody     9   0  4752 4752  4392 S     0.0  0.4   0:00 httpd
> 18530 nobody     9   0  4480 4480  4260 S     0.0  0.4   0:00 httpd
> 18524 nobody     9   0  4476 4476  4256 S     0.0  0.4   0:00 httpd
> 18522 nobody     9   0  4472 4472  4256 S     0.0  0.4   0:00 httpd
> 18523 nobody     9   0  4472 4472  4256 S     0.0  0.4   0:00 httpd
> 18528 nobody     9   0  4472 4472  4260 S     0.0  0.4   0:00 httpd
> 18540 nobody     9   0  4468 4468  4260 S     0.0  0.4   0:00 httpd
>
>
> After crashing tomcat I see on the browser "Internal server error" and log
> file  is fulled by following messages
>
> ...
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
> [Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> [Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
> [Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> ...
>
>
>
> ----- Original Message -----
> From: "Galbayar" <ga...@mobicom.mn>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Tuesday, March 12, 2002 10:03 AM
> Subject: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
>
>
> Hello all
> Here is part of top output. Is it usual that java
> processes eat all of memory? ? At now there are 50 java processes started
> that running tomcat and each of them uses 59M memory. There is running
> apache
> server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is
installed.
> how to solve this problem?
>
> 106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
> Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
> wap: 1020116K av, 0K used, 1020116K free 762320K cached
>
> 3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
> 3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
> 3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
> 3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> 3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
> 3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> 3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> 3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> 3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
>
>
>
>
> --
> 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: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Posted by "Oyundalai.N.S" <oy...@mobicom.mn>.
In addtition, after restarting tomcat memory usage of each java processes
decreases until 23M each
and grows up slowly.
Please see output of top that sorted by memory usage. . And after several
days it reaches up to 60M
each and crashes. Apache is working normally all time.

11:47am  up 7 days, 17:15,  2 users,  load average: 0.01, 0.03, 0.08
111 processes: 110 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.0% user,  1.7% system,  0.0% nice, 98.2% idle
Mem:  1028860K av,  961188K used,   67672K free,     116K shrd,  139632K
buff
Swap: 1020116K av,       0K used, 1020116K free                  705172K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
18492 root       9   0 26536  25M  9576 S     0.0  2.5   0:03 java
18493 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18494 root       9   0 26536  25M  9576 S     0.0  2.5   0:01 java
18495 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18496 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18497 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18498 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18499 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18500 root       9   0 26536  25M  9576 S     0.0  2.5   0:01 java
18503 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18504 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18507 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18508 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18509 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18510 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18511 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18512 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18513 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18514 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18515 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18516 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18517 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18518 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18519 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18520 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18529 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18535 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18538 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18539 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18544 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18545 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18546 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18556 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18557 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18558 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18600 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18602 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18605 root       9   0 26536  25M  9576 S     0.0  2.5   0:00 java
18526 nobody     9   0  4968 4968  4608 S     0.0  0.4   0:00 httpd
18532 nobody     9   0  4780 4780  4368 S     0.0  0.4   0:00 httpd
18531 nobody     9   0  4768 4768  4396 S     0.0  0.4   0:00 httpd
18525 nobody     9   0  4752 4752  4392 S     0.0  0.4   0:00 httpd
18530 nobody     9   0  4480 4480  4260 S     0.0  0.4   0:00 httpd
18524 nobody     9   0  4476 4476  4256 S     0.0  0.4   0:00 httpd
18522 nobody     9   0  4472 4472  4256 S     0.0  0.4   0:00 httpd
18523 nobody     9   0  4472 4472  4256 S     0.0  0.4   0:00 httpd
18528 nobody     9   0  4472 4472  4260 S     0.0  0.4   0:00 httpd
18540 nobody     9   0  4468 4468  4260 S     0.0  0.4   0:00 httpd


After crashing tomcat I see on the browser "Internal server error" and log
file  is fulled by following messages

...
[Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
[Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
[Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
[Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
[Sat Mar 09 22:51:15 2002]  [jk_ajp13_worker.c (228)]:
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
...



----- Original Message -----
From: "Galbayar" <ga...@mobicom.mn>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 10:03 AM
Subject: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)


Hello all
Here is part of top output. Is it usual that java
processes eat all of memory? ? At now there are 50 java processes started
that running tomcat and each of them uses 59M memory. There is running
apache
server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed.
how to solve this problem?

106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
wap: 1020116K av, 0K used, 1020116K free 762320K cached

3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java




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


RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Posted by Filip Hanik <ma...@filip.net>.
and what do you get from running "ps" ?

what I am saying is that your top command lists each thread inside the
Tomcat VM as a process
because you haven't started 110 Tomcat's have you?

search the archives, there are answers to your questions from previous posts
Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net

>-----Original Message-----
>From: Galbayar [mailto:galbayar@mobicom.mn]
>Sent: Monday, March 11, 2002 6:26 PM
>To: Tomcat Users List
>Subject: Re: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
>
>
>it is top result and every java process using 59M RAM
>i'm use mod_jk integrated Tomcat with Apache and Tomcat
>top result is :
>
>
>110 processes: 109 sleeping, 1 running, 0 zombie, 0 stopped
>CPU states:  2.3% user,  1.9% system,  0.0% nice, 95.6% idle
>Mem:  1028860K av,  938924K used,   89936K free,     116K shrd,  139628K
>buff
>Swap: 1020116K av,       0K used, 1020116K free                  680228K
>cached
>
>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
>17862 root      15   0  1092 1092   836 R     1.7  0.1   0:00 top
>17293 root      13   0 28176  59M  9576 S     1.5  2.7   0:01 java
>17272 root      10   0 28176  59M  9576 S     0.1  2.7   0:02 java
>
>and see MEM usage total RAM is 1028860K  938924K used,   89936K free
>
>
>----- Original Message -----
>From: "Filip Hanik" <ma...@filip.net>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Tuesday, March 12, 2002 10:14
>Subject: RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
>
>
>> what you are seeing is that "ps" or "top" lists one process for each
>thread
>> in Tomcat.
>> your tomcat is running 59M all together
>>
>> Filip
>>
>> ~
>> Namaste - I bow to the divine in you
>> ~
>> Filip Hanik
>> Software Architect
>> filip@filip.net
>> www.filip.net
>>
>> >-----Original Message-----
>> >From: Galbayar [mailto:galbayar@mobicom.mn]
>> >Sent: Monday, March 11, 2002 6:04 PM
>> >To: Tomcat Users List
>> >Subject: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
>> >
>> >
>> >Hello all
>> >Here is part of top output. Is it usual that java
>> >processes eat all of memory? ? At now there are 50 java
>processes started
>> >that running tomcat and each of them uses 59M memory. There is running
>> >apache
>> >server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is
>installed.
>> >how to solve this problem?
>> >
>> >106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
>> >CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
>> >Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
>> >wap: 1020116K av, 0K used, 1020116K free 762320K cached
>> >
>> >3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
>> >3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
>> >3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
>> >3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>> >3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
>> >3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>> >3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>> >3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>> >3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
>> >
>> >
>>
>>
>> --
>> 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>
>
>


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


Re: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Posted by Galbayar <ga...@mobicom.mn>.
it is top result and every java process using 59M RAM
i'm use mod_jk integrated Tomcat with Apache and Tomcat
top result is :


110 processes: 109 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  2.3% user,  1.9% system,  0.0% nice, 95.6% idle
Mem:  1028860K av,  938924K used,   89936K free,     116K shrd,  139628K
buff
Swap: 1020116K av,       0K used, 1020116K free                  680228K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
17862 root      15   0  1092 1092   836 R     1.7  0.1   0:00 top
17293 root      13   0 28176  59M  9576 S     1.5  2.7   0:01 java
17272 root      10   0 28176  59M  9576 S     0.1  2.7   0:02 java

and see MEM usage total RAM is 1028860K  938924K used,   89936K free


----- Original Message -----
From: "Filip Hanik" <ma...@filip.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 10:14
Subject: RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)


> what you are seeing is that "ps" or "top" lists one process for each
thread
> in Tomcat.
> your tomcat is running 59M all together
>
> Filip
>
> ~
> Namaste - I bow to the divine in you
> ~
> Filip Hanik
> Software Architect
> filip@filip.net
> www.filip.net
>
> >-----Original Message-----
> >From: Galbayar [mailto:galbayar@mobicom.mn]
> >Sent: Monday, March 11, 2002 6:04 PM
> >To: Tomcat Users List
> >Subject: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
> >
> >
> >Hello all
> >Here is part of top output. Is it usual that java
> >processes eat all of memory? ? At now there are 50 java processes started
> >that running tomcat and each of them uses 59M memory. There is running
> >apache
> >server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is
installed.
> >how to solve this problem?
> >
> >106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
> >CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
> >Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
> >wap: 1020116K av, 0K used, 1020116K free 762320K cached
> >
> >3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
> >3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
> >3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
> >3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> >3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
> >3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> >3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> >3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
> >3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
> >
> >
>
>
> --
> 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: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

Posted by Filip Hanik <ma...@filip.net>.
what you are seeing is that "ps" or "top" lists one process for each thread
in Tomcat.
your tomcat is running 59M all together

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net

>-----Original Message-----
>From: Galbayar [mailto:galbayar@mobicom.mn]
>Sent: Monday, March 11, 2002 6:04 PM
>To: Tomcat Users List
>Subject: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
>
>
>Hello all
>Here is part of top output. Is it usual that java
>processes eat all of memory? ? At now there are 50 java processes started
>that running tomcat and each of them uses 59M memory. There is running
>apache
>server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed.
>how to solve this problem?
>
>106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
>CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle
>Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff
>wap: 1020116K av, 0K used, 1020116K free 762320K cached
>
>3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
>3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java
>3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java
>3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java
>3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java
>3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java
>
>


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