Hi

> 1. I see a lot of java process running on my machine when I do a 'ps' to
show the process list. So how many JVM are actually started by the tomcat
instance? 

No. You see just one java process.
However, your version of ps cannot handle threads correctly.
The JVM is multi-threaded.

> If there are more than one JVM, and each JVM uses the min/max I specified
in the TOMCAT_OPTS, I think my RAM will quickly used up by the tomcat?

No, it is the very same part of memory all the time. Don't fear.

> 2. What is the best -Xms and -Xmx value to use for a site that has about
200-300 concurrent users?

Depends completely on your application.
Basic rule: Do a lot of load testing of common application usage patterns.
Use a profiler for this. Set -Xm? to the highest values you observe that
one.
Do not subtract the memory used by the profiler, leave it as buffer.

Regards,
  Steffen


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

Reply via email to