dedicated Tomcat instances

2004-05-12 Thread wsedio
Hi,
I've an hosting server running Red Hat Enterprise Linux 3 ES. and I am 
planning to install Tomcat 4.1.x on it, I am pretty new to Tomcat.

I would like to give dedicated Tomcat instances to some clients.
That way, if an instance crashes, the problem shouldn't affect other 
clients web sites.

The dedicated Tomcat instances should also improve security, by keeping 
each customer's applications separated from others clients.

What is the best way to give dedicated Tomcat instances and accomplish 
the above aims?

How many resources (CPU/memory) does each Tomcat instace require 
approximately?

Thanks!

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


Re: dedicated Tomcat instances

2004-04-07 Thread QM
On Thu, Apr 08, 2004 at 01:41:59AM +0200, wsedio wrote:
: What is the best way to give dedicated Tomcat instances and accomplish 
: the above aims?

I forget the URL, so search the archives and/or Tomcat docs for
"CATALINA_BASE"... There's a doc on doing just this. YMMV but it's
been nothing but wonderful for me. ;)


: How many resources (CPU/memory) does each Tomcat instace require 
: approximately?

As much as they need (CPU) and are given (mem).

You can (sort of) cap the mem by setting JVM heap sizes with -Xmx etc.
I believe the default max heap size is 64m (?128m?).

CPU is a little tougher to restrict.  It's more a game of "spot the
resource hog" and then "use the profiler."

I've found "top" and "ps" great at pinpointing the hogs in large-scale
environments. ;)


-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



dedicated Tomcat instances

2004-04-07 Thread wsedio
Hi,
I've an hosting server running Red Hat Enterprise Linux 3 ES. and I am 
planning to install Tomcat 4.1.x on it, I am pretty new to Tomcat.

I would like to give dedicated Tomcat instances to some clients.
That way, if an instance crashes, the problem shouldn't affect other 
clients web sites.

The dedicated Tomcat instances should also improve security, by keeping 
each customer's applications separated from others clients.

What is the best way to give dedicated Tomcat instances and accomplish 
the above aims?

How many resources (CPU/memory) does each Tomcat instace require 
approximately?

Thanks!

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