tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Clark L. Naldoza" <njcl...@ntsp.nec.co.jp>
Subject Re: too many java processes ???
Date Fri, 06 Apr 2001 08:36:08 GMT
Hi,


Are you using Multi-threaded Applications???  If so, this would be
natural...;-)  

With the Linux Operating System...  Threads are actually reported as
being processes...;-)

Try using top or ps -aux and add up the memory usage of the
processes...;-)

However, this does appear to be quite odd, if you have just run tomcat
and checked out the number of process running right away...;-(

What version of the Linux Kernel are you using???


Cheers,


John Clark

> kreso wrote:
> 
> When we run tomcat, it opens about 30 java processes and it takes
> a lot (almost all) of our 128 MB memory. Is that supposed to be?
> We are running it on linux.
> Processes look something like this...
> 
> root     11077 11049  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11078 11077  0 Apr05 ?        00:00:12
> /usr/java/jdk1.3/bin/i386/native
> root     11079 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11080 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11081 11077  0 Apr05 ?        00:00:04
> /usr/java/jdk1.3/bin/i386/native
> root     11082 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11083 11077  0 Apr05 ?        00:00:01
> /usr/java/jdk1.3/bin/i386/native
> root     11084 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11085 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11086 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11087 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11088 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11089 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11090 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11091 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11092 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11093 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11094 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11095 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11096 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11097 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11098 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11099 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11100 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11101 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11102 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11103 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11104 11077  0 Apr05 ?        00:00:00 /usr/java/¢ó
> root     11105 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11106 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11107 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11108 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11109 11077  0 Apr05 ?        00:00:01
> /usr/java/jdk1.3/bin/i386/native
> root     11110 11077  0 Apr05 ?        00:00:02
> /usr/java/jdk1.3/bin/i386/native
> root     11111 11077  0 Apr05 ?        00:00:06
> /usr/java/jdk1.3/bin/i386/native
> root     11112 11077  0 Apr05 ?        00:00:00
> /usr/java/jdk1.3/bin/i386/native
> root     11114 11077  0 Apr05 ?        00:00:07
> /usr/java/jdk1.3/bin/i386/native?
> 
> 
> please let us know how we can limit so it doesn't use whole our
> memory...
> thanks
> 

-- 
     /) John Clark Naldoza y Lopez                           (\
    / )    Software Design Engineer II                       ( \
  _( (_    _  Web-Application Development                    _) )_
 (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
 (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
  \       /                                              \       /
   \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
   /   /  cellphone: (+63 919) 399-4742                     \   \
  /   / email: njclark@ntsp.nec.co.jp                        \   \

Mime
View raw message