Re: Tomcat Spawning, memory usage

2002-01-04 Thread fnovella

Armbrus, Daniel C. presuntamente escribió:

My problem is that whenever Tomcat is started, it spawns off at least 30
processes identified only as java when I do a ps -e command, and each one 
of
these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
take more than 900 MB of RAM when no one is even hitting the server!

They are NOT processes, they are threads, well... that linux-threads 
hybrid -don't flame me, please, I use Linux happily everyday on the 
server side-. And those threads are sharing 23 MB of ram (if all of them 
are under the same Java instance, use ps -axf for a fancy look of this), 
don´t panic.

By the way, this question has been answered many times on this list. You 
can find useful information by browsing or searching the archives at:

http://mikal.org/interests/java/tomcat/index.jsp or
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or... google 
can give you more

Francisco J. Novella
[EMAIL PROTECTED]



Tomcat Spawning, memory usage

2002-01-03 Thread Armbrust, Daniel C.

I am running a copy of Tomcat 4.0.1 on RedHat 7.2 with Suns java SDK version
1.3.01.

I also have apache installed, (whichever version ships with redhat 7.2) and
one application deployed through the warp connector to apache.

The webapps that come with tomcat (manager, examples, etc) are also still
deployed.

My problem is that whenever Tomcat is started, it spawns off at least 30
processes identified only as java when I do a ps -e command, and each one of
these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
take more than 900 MB of RAM when no one is even hitting the server!

I tried changing the MinProcessors and MaxProcessors both down to 1
throughout the server.xml file, but this has little to no affect on the
number of processes spawned.

How do I control the number of java processes spawned?  I'm only using this
machine for development, so I am the only user.  Having Tomcat take up 900MB
of Ram seems quite ridiculous.

Thanks for any help,

Dan

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