You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Palat, Anil" <ap...@corbincapital.com> on 2007/11/15 16:31:48 UTC
FW: multiple tomcat processes running on linux
Hi,
I've my application running on the following environment
-Tomcat 5.0.16
-Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21
32.0.1.ELsmp (32-bit)
When I give ps -ef | grep tomcat, it shows multiple processes running &
all of them grabbing majority of the available memory
Is it something to do with OS ?
What can I do to stop the multiple processes?
Thanks in advance
Anil
RE: multiple tomcat processes running on linux
Posted by "Palat, Anil" <ap...@corbincapital.com>.
Thanks for you valuable suggestion, I'll consider upgrading my OS
-----Original Message-----
From: Andrew Miehs [mailto:andrew@2sheds.de]
Sent: Thursday, November 15, 2007 10:38 AM
To: Tomcat Users List
Subject: Re: multiple tomcat processes running on linux
On 15/11/2007, at 4:31 PM, Palat, Anil wrote:
> -Tomcat 5.0.16
> -Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21
> 32.0.1.ELsmp (32-bit)
>
> When I give ps -ef | grep tomcat, it shows multiple processes running
> & all of them grabbing majority of the available memory
You are running on an old 2.4 kernel - and you are only seeing 1 process
and lots of threads...
Update to a 2.6 kernel as soon as possible if you want to do anything
serious with Tomcat.
As for the memory - It uses as much as you tell it to use.
Andrew
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: multiple tomcat processes running on linux
Posted by Andrew Miehs <an...@2sheds.de>.
On 15/11/2007, at 4:31 PM, Palat, Anil wrote:
> -Tomcat 5.0.16
> -Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21
> 32.0.1.ELsmp (32-bit)
>
> When I give ps -ef | grep tomcat, it shows multiple processes
> running &
> all of them grabbing majority of the available memory
You are running on an old 2.4 kernel - and you are only seeing 1 process
and lots of threads...
Update to a 2.6 kernel as soon as possible if you want to do anything
serious with Tomcat.
As for the memory - It uses as much as you tell it to use.
Andrew
SV: multiple tomcat processes running on linux
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> When I give ps -ef | grep tomcat, it shows multiple processes running
& all of them grabbing majority of the available memory
That's covered in the Linux section of the FAQ: Linux ps reports
multiple threads as separate processes. Try adjusting the number of
threads in server.xml.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org