Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-29 Thread jean-frederic clere
Pier Fumagalli wrote: "jean-frederic clere" <[EMAIL PROTECTED]> wrote: The Linux threads implementation is _bad_ but that does not mean that the whole thing bad. That's why I said "works for you? Good"... For our setup we _need_ threads... So the problem is a little different: you need a J

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-29 Thread Pier Fumagalli
"jean-frederic clere" <[EMAIL PROTECTED]> wrote: > The Linux threads implementation is _bad_ but that does not mean that the > whole thing bad. That's why I said "works for you? Good"... For our setup we _need_ threads... > For the Fun. The kernel threads appair also in ps but I have not (yet) t

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-29 Thread Bojan Smojver
On Tue, 2002-10-29 at 20:15, jean-frederic clere wrote: > The Linux threads implementation is _bad_ but that does not mean that > the whole thing bad. I was just teasing. Anyway, have a look at this: http://marc.theaimsgroup.com/?l=linux-kernel&m=103269598000900&w=2 and this: http://www-124.ib

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-29 Thread jean-frederic clere
Pier Fumagalli wrote: On 28/10/02 22:40, "Bojan Smojver" <[EMAIL PROTECTED]> wrote: On Tue, 2002-10-29 at 00:31, Pier Fumagalli wrote: Those are _not_ processes, they are threads... Use a decent operating system that supports them nicely (not Linux) and you'll see the difference (how many ti

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Denis Benoit
On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: > JAVA_OPTS=" -server -Xms128m -Xmx256m" > > --> The memory used by my tomcat reach 300 MO or more with 0 user > connected... The memory usage of the process is not the total of the memory of all the threads. Take ONE thread memory usage (in top for

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Pier Fumagalli
On 28/10/02 22:40, "Bojan Smojver" <[EMAIL PROTECTED]> wrote: > On Tue, 2002-10-29 at 00:31, Pier Fumagalli wrote: > >> Those are _not_ processes, they are threads... Use a decent operating system >> that supports them nicely (not Linux) and you'll see the difference (how >> many times do I have

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Bojan Smojver
On Tue, 2002-10-29 at 00:10, [EMAIL PROTECTED] wrote: > Hello, > > I have tomcat 4.1.10 on a red hat Linux server 7.3 with the j2sdk141, > > When I start the tomcat4 service, all is OK and the tomcat server run. > > BUT, when I look the memory usage (with TOP utility), I have this result : > >

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Bojan Smojver
On Tue, 2002-10-29 at 00:31, Pier Fumagalli wrote: > Those are _not_ processes, they are threads... Use a decent operating system > that supports them nicely (not Linux) and you'll see the difference (how > many times do I have to repeat this?)... Linux sucks :-( Ha, ha... Keep dreaming Pier ;-)

Re: [OT]Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Pier Fumagalli
"micael" <[EMAIL PROTECTED]> wrote: > What operating system do you prefer, Pier? We use Solaris both for Intel and Sun platforms... First reason being is that we _know_ how that OS works, it's much more tuneable on live systems, and much easier to configure when you know what you're doing... Esp

[OT]Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread micael
What operating system do you prefer, Pier? At 01:31 PM 10/28/2002 +, you wrote: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > So, > > My first question is : why tomcat use all the memory while there is no > users connected (or just one) ? The JVM allocates chunks of memory (see the -Xmx

Re: Réf. : Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Henri Gomez
[EMAIL PROTECTED] wrote: G... Always the same problem! I tried in the tomcat.conf script : JAVACMD="$JAVA_HOME/bin/java -Xms128m -Xmx256m" or in the dtomcat4 : JAVA_OPTS=" -server -Xms128m -Xmx256m" --> The memory used by my tomcat reach 300 MO or more with 0 user connected... Why ? I

RE: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Jason Corley
Pier (MacOS/X rocks!) -- Finally something I can agree with Pier on. :-) Jason -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Henri Gomez
Pier Fumagalli wrote: "Henri Gomez" <[EMAIL PROTECTED]> wrote: On Linux threads are +/- process and are really cheap to create, so it's should be a problem. Read, it shouldn't be a problem It is a problem because every time someone does a PS goes _nuts_ about the number of JVM process

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Pier Fumagalli
"Henri Gomez" <[EMAIL PROTECTED]> wrote: >> On Linux threads are +/- process and are really cheap to create, so it's >> should be a problem. > > Read, it shouldn't be a problem It is a problem because every time someone does a PS goes _nuts_ about the number of JVM processes... While at the

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Henri Gomez
On Linux threads are +/- process and are really cheap to create, so it's should be a problem. Read, it shouldn't be a problem -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Henri Gomez
Pier Fumagalli wrote: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: So, My first question is : why tomcat use all the memory while there is no users connected (or just one) ? You should first see if your application is not eating memory. My second question is : how much memory is needed i

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Pier Fumagalli
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > So, > > My first question is : why tomcat use all the memory while there is no > users connected (or just one) ? The JVM allocates chunks of memory (see the -Xmx and -Xms flags by invoking "java -X") and manages them... So, one user, 100 users, sa

TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Patrice . Boucher
Hello, I have tomcat 4.1.10 on a red hat Linux server 7.3 with the j2sdk141, When I start the tomcat4 service, all is OK and the tomcat server run. BUT, when I look the memory usage (with TOP utility), I have this result : 11:31am up 12 days, 2:18, 2 users, load average: 0,00, 0,00, 0,00 9