Re: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Trevor Little

If you're talking about java processes it's really just one process and
what you're seeing are actually threads.  It's normal.


Michael Wentzel wrote:
 
  I'm running Tomcat on linux. From the moment I start up
  Tomcat, I see 51
  processes and these processes takes up 142 MB of memory. Is
  this normal ?
 
 Doesn't sound right to me.  Can you send a copy or the long output
 of ps?  As well as a description of your configuration(OS, tomcat
 standalone vs tomcat/apache, webapp configuration, etc...).
 
 PS - Changed subject of thread to more appropriate subject.
 
 ---
 Michael Wentzel
 Software Developer
 A HREF="http://www.aswethink.com"Software As We Think/A
 A HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




RE: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Christoph Rooms

But is it normal that it takes  140 MB of RAM ? (I know that I only have to
count 1 process)

I have a provider that wanted to support servlets using tomcat. But it seems
I managed to bring down his machine that was online for more then 200 days.

What's the best way to avoid this ?

greetz, Christoph

-Original Message-
From: tlittle [mailto:tlittle]On Behalf Of Trevor Little
Sent: woensdag 24 januari 2001 22:37
To: [EMAIL PROTECTED]
Subject: Re: Actually RE: Tomcat processes... (to Christoph Rooms)


If you're talking about java processes it's really just one process and
what you're seeing are actually threads.  It's normal.


Michael Wentzel wrote:

  I'm running Tomcat on linux. From the moment I start up
  Tomcat, I see 51
  processes and these processes takes up 142 MB of memory. Is
  this normal ?

 Doesn't sound right to me.  Can you send a copy or the long output
 of ps?  As well as a description of your configuration(OS, tomcat
 standalone vs tomcat/apache, webapp configuration, etc...).

 PS - Changed subject of thread to more appropriate subject.

 ---
 Michael Wentzel
 Software Developer
 A HREF="http://www.aswethink.com"Software As We Think/A
 A HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A

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

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



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




RE: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Christoph Rooms

Hi,

How do I use these parameters ? Can you give more info on it ? An example ?

thanks !

Christoph

-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: woensdag 24 januari 2001 22:57
To: [EMAIL PROTECTED]
Subject: RE: Actually RE: Tomcat processes... (to Christoph Rooms)



I don't suppose your setup is using the parameters which set initial heap
size on the java command line are they. My installs run 10% of the size you
are quoting when run out of the box.

Regards,
Paul


-Original Message-
From: Christoph Rooms [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 4:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Actually RE: Tomcat processes... (to Christoph Rooms)


But is it normal that it takes  140 MB of RAM ? (I know that I only have to
count 1 process)

I have a provider that wanted to support servlets using tomcat. But it seems
I managed to bring down his machine that was online for more then 200 days.

What's the best way to avoid this ?

greetz, Christoph

-Original Message-
From: tlittle [mailto:tlittle]On Behalf Of Trevor Little
Sent: woensdag 24 januari 2001 22:37
To: [EMAIL PROTECTED]
Subject: Re: Actually RE: Tomcat processes... (to Christoph Rooms)


If you're talking about java processes it's really just one process and
what you're seeing are actually threads.  It's normal.


Michael Wentzel wrote:

  I'm running Tomcat on linux. From the moment I start up
  Tomcat, I see 51
  processes and these processes takes up 142 MB of memory. Is
  this normal ?

 Doesn't sound right to me.  Can you send a copy or the long output
 of ps?  As well as a description of your configuration(OS, tomcat
 standalone vs tomcat/apache, webapp configuration, etc...).

 PS - Changed subject of thread to more appropriate subject.

 ---
 Michael Wentzel
 Software Developer
 A HREF="http://www.aswethink.com"Software As We Think/A
 A HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A

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

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



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



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



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




RE: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Christoph Rooms

Hi,

I am using 3.2.1 ... using jdk 1.3.

Strange ... but how is it possible that I'm getting 140MB and another user
only 10 ?

I don't understand ...

Christoph

-Original Message-
From: Steve Ruby [mailto:[EMAIL PROTECTED]]
Sent: woensdag 24 januari 2001 23:40
To: [EMAIL PROTECTED]
Subject: Re: Actually RE: Tomcat processes... (to Christoph Rooms)


Christoph Rooms wrote:

 Hi,

 So I putted -Xmx24m in after the java command in tomcat.sh

 What I see he now uses 50M. Anybody knows why ?

 greetz, Christoph


You can only configure the heap size for java, you can't limit
the total memory requirements of the JVM...  Limiting the
heap should catch any run-away servlets that might take
too much memory, or even tomcat in the even of a leak.

What version of tomcat are you using?

I started up tomcat 4.0 under linux with -Xmx24m and hit
a couple of servlets and I'm at 40meg VSZ and 14 RSZ
(using green threads).

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



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