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

2002-12-16 Thread Ming Zhao
Can it work on Win2k? Thanks,

--- Luc Santeramo [EMAIL PROTECTED]
wrote:
 Hi,
 
 there is a way to limit memory use by tomcat
 just specify it in your CATALINA_OPTS env var
 here is mine
 CATALINA_OPTS=-server -Xmx220m -Xms220m
 -Dfile.encoding=UTF-8
 
 these are jvm parameter I think
 Xmx is the max mem to use and Xms is the min
 
 hope this helps
 
 Luc
 
 At 11:03 13/12/2002  +0100, Marco Bucciarelli wrote:
 Hi, I have also this problem/doubt: how to limit
 the number of threads
 opened by Tomcat?
 I tried to change a lot of settings in server.xml
 but nothing influenced
 that number.
 I have always 46 new java processes opened by
 Tomcat.
 
 I did this test (Linux RedHat 7.0, Tomcat 4.1.12,
 Apache 1.3.12, Sun JDK
 1.4.1_01):
 - reboot the machine, with tomcat service disabled
 at startup
 - the free command gives me 221.196Kb of memory
 free (Total 256Mk)
 - start tomcat
 - I found 46 new java processes
 - the top command says that every process uses 56Mb
 of RAM
 - the free command now gives me 44.436Kb free
 
 All this without accessing to Apache or Tomcat,
 only before and after the
 start of Tomcat!
 
 Of course I do not have a memory usage of 46*56Mb,
 but I do not have only
 56Mb of RAM used by Tomcat (after the start I have
 only 44Mb of memory free,
 before the start I had 220Mb free).
 
 What is happening?
 
 Bye,
 Marco.
 
 
 From: Galbayar
 Subject:  Re: Tomcat using VERY LARGE Memory
 (URGENT!)
 Date:  Tue, 12 Mar 2002 10:26:21 +0800
 
 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 [EMAIL PROTECTED]
 To: Tomcat Users List
 [EMAIL PROTECTED]
 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
   [EMAIL PROTECTED]
   www.filip.net
  
   -Original Message-
   From: Galbayar [mailto:[EMAIL PROTECTED]]
   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:   mailto:tomcat-user-
 [EMAIL PROTECTED]
   For additional commands: mailto:tomcat-user-
 [EMAIL PROTECTED]
   Troubles with the list: mailto:tomcat-user-
 [EMAIL PROTECTED]
  
  
  
 
 
 --
 To unsubscribe:   mailto:tomcat-user-
 [EMAIL PROTECTED]
 For additional commands: mailto:tomcat-user-
 [EMAIL PROTECTED]
 Troubles with the list: mailto:tomcat-user-
 [EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
=== message truncated ===


__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-12-16 Thread Jeremy Joslin
The -X VM options will work with Sun VM's, your mileage may vary when used
with others.  You can read all about it here:
http://java.sun.com/docs/hotspot/VMOptions.html

Jeremy

 -Original Message-
 From: Ming Zhao [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 10:19 AM
 To: Tomcat Users List
 Subject: RE: Tomcat using VERY LARGE Memory (URGENT!)
 
 Can it work on Win2k? Thanks,
 
 --- Luc Santeramo [EMAIL PROTECTED]
 wrote:
  Hi,
 
  there is a way to limit memory use by tomcat
  just specify it in your CATALINA_OPTS env var
  here is mine
  CATALINA_OPTS=-server -Xmx220m -Xms220m
  -Dfile.encoding=UTF-8
 
  these are jvm parameter I think
  Xmx is the max mem to use and Xms is the min
 
  hope this helps
 
  Luc
 
  At 11:03 13/12/2002  +0100, Marco Bucciarelli wrote:
  Hi, I have also this problem/doubt: how to limit
  the number of threads
  opened by Tomcat?
  I tried to change a lot of settings in server.xml
  but nothing influenced
  that number.
  I have always 46 new java processes opened by
  Tomcat.
  
  I did this test (Linux RedHat 7.0, Tomcat 4.1.12,
  Apache 1.3.12, Sun JDK
  1.4.1_01):
  - reboot the machine, with tomcat service disabled
  at startup
  - the free command gives me 221.196Kb of memory
  free (Total 256Mk)
  - start tomcat
  - I found 46 new java processes
  - the top command says that every process uses 56Mb
  of RAM
  - the free command now gives me 44.436Kb free
  
  All this without accessing to Apache or Tomcat,
  only before and after the
  start of Tomcat!
  
  Of course I do not have a memory usage of 46*56Mb,
  but I do not have only
  56Mb of RAM used by Tomcat (after the start I have
  only 44Mb of memory free,
  before the start I had 220Mb free).
  
  What is happening?
  
  Bye,
  Marco.
  
  
  From: Galbayar
  Subject:  Re: Tomcat using VERY LARGE Memory
  (URGENT!)
  Date:  Tue, 12 Mar 2002 10:26:21 +0800
  
  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 [EMAIL PROTECTED]
  To: Tomcat Users List
  [EMAIL PROTECTED]
  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
[EMAIL PROTECTED]
www.filip.net
   
-Original Message-
From: Galbayar [mailto:[EMAIL PROTECTED]]
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:   mailto:tomcat-user-
  [EMAIL PROTECTED]
For additional commands: mailto:tomcat-user-
  [EMAIL PROTECTED]
Troubles with the list: mailto:tomcat-user-
  [EMAIL PROTECTED]
   
   
   
  
  
  --
  To unsubscribe:   mailto:tomcat-user-
  [EMAIL PROTECTED]
  For additional commands: mailto:tomcat-user-
  [EMAIL PROTECTED]
  Troubles with the list

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

2002-12-13 Thread Marco Bucciarelli
Hi, I have also this problem/doubt: how to limit the number of threads
opened by Tomcat?
I tried to change a lot of settings in server.xml but nothing influenced
that number.
I have always 46 new java processes opened by Tomcat.

I did this test (Linux RedHat 7.0, Tomcat 4.1.12, Apache 1.3.12, Sun JDK
1.4.1_01):
- reboot the machine, with tomcat service disabled at startup
- the free command gives me 221.196Kb of memory free (Total 256Mk)
- start tomcat
- I found 46 new java processes
- the top command says that every process uses 56Mb of RAM
- the free command now gives me 44.436Kb free

All this without accessing to Apache or Tomcat, only before and after the
start of Tomcat!

Of course I do not have a memory usage of 46*56Mb, but I do not have only
56Mb of RAM used by Tomcat (after the start I have only 44Mb of memory free,
before the start I had 220Mb free).

What is happening?

Bye,
Marco.


From: Galbayar
Subject:  Re: Tomcat using VERY LARGE Memory (URGENT!)
Date:  Tue, 12 Mar 2002 10:26:21 +0800

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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
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
 [EMAIL PROTECTED]
 www.filip.net

 -Original Message-
 From: Galbayar [mailto:[EMAIL PROTECTED]]
 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:   mailto:tomcat-user-
[EMAIL PROTECTED]
 For additional commands: mailto:tomcat-user-
[EMAIL PROTECTED]
 Troubles with the list: mailto:tomcat-user-
[EMAIL PROTECTED]





--
To unsubscribe:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands: mailto:tomcat-user-
[EMAIL PROTECTED]
Troubles with the list: mailto:tomcat-user-
[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-12-13 Thread Luc Santeramo
Hi,

there is a way to limit memory use by tomcat
just specify it in your CATALINA_OPTS env var
here is mine
CATALINA_OPTS=-server -Xmx220m -Xms220m -Dfile.encoding=UTF-8

these are jvm parameter I think
Xmx is the max mem to use and Xms is the min

hope this helps

Luc

At 11:03 13/12/2002  +0100, Marco Bucciarelli wrote:

Hi, I have also this problem/doubt: how to limit the number of threads
opened by Tomcat?
I tried to change a lot of settings in server.xml but nothing influenced
that number.
I have always 46 new java processes opened by Tomcat.

I did this test (Linux RedHat 7.0, Tomcat 4.1.12, Apache 1.3.12, Sun JDK
1.4.1_01):
- reboot the machine, with tomcat service disabled at startup
- the free command gives me 221.196Kb of memory free (Total 256Mk)
- start tomcat
- I found 46 new java processes
- the top command says that every process uses 56Mb of RAM
- the free command now gives me 44.436Kb free

All this without accessing to Apache or Tomcat, only before and after the
start of Tomcat!

Of course I do not have a memory usage of 46*56Mb, but I do not have only
56Mb of RAM used by Tomcat (after the start I have only 44Mb of memory free,
before the start I had 220Mb free).

What is happening?

Bye,
Marco.


From: Galbayar
Subject:  Re: Tomcat using VERY LARGE Memory (URGENT!)
Date:  Tue, 12 Mar 2002 10:26:21 +0800

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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
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
 [EMAIL PROTECTED]
 www.filip.net

 -Original Message-
 From: Galbayar [mailto:[EMAIL PROTECTED]]
 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:   mailto:tomcat-user-
[EMAIL PROTECTED]
 For additional commands: mailto:tomcat-user-
[EMAIL PROTECTED]
 Troubles with the list: mailto:tomcat-user-
[EMAIL PROTECTED]





--
To unsubscribe:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands: mailto:tomcat-user-
[EMAIL PROTECTED]
Troubles with the list: mailto:tomcat-user-
[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-03-11 Thread Galbayar

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!!!!!!!!!)

2002-03-11 Thread Filip Hanik

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
[EMAIL PROTECTED]
www.filip.net

-Original Message-
From: Galbayar [mailto:[EMAIL PROTECTED]]
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:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




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

2002-03-11 Thread Galbayar

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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
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
 [EMAIL PROTECTED]
 www.filip.net

 -Original Message-
 From: Galbayar [mailto:[EMAIL PROTECTED]]
 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:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




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

2002-03-11 Thread Filip Hanik

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
[EMAIL PROTECTED]
www.filip.net

-Original Message-
From: Galbayar [mailto:[EMAIL PROTECTED]]
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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
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
 [EMAIL PROTECTED]
 www.filip.net

 -Original Message-
 From: Galbayar [mailto:[EMAIL PROTECTED]]
 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:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




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

2002-03-11 Thread Oyundalai.N.S

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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 10:03 AM
Subject: Tomcat using VERY

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

2002-03-11 Thread Hari Yellina

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 [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
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