--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> >1. Is it possible to know how much RAM is used by
> >servlets by per domain basis?
> >
> >2. Is it possible to specify the maximum RAM could
> be
> >used by per domain basis?
> >
> >The domain is as example.com, my-domain.com, etc.
> 
> Pretty much no to both questions if you have them
> within the same Tomcat
> instances (e.g. two <Host> elements), yes to both
> questions if you have
> separate Tomcat instances for your domains.  And
> it's not a Tomcat
> limitation or feature, it's a JVM memory tracking
> issue.
> 

Hi, Yoav, thanks for the reply.

I'm sorry I was not detailed enough.

I'm not using Tomcat yet, but thinking to use Tomcat
to offer Java/Servlets facility for couple of
different domains hosted on one Linux-based physical
server.

Since the servlet resides in the RAM once it is
loaded, the memory consumption and possible abuse is
my concern. Therefore, allocating RAM and limiting to
the allocated amount for different domain is what I'm
interested. Thereby, I can install sufficient physical
RAM in the server.

I'm interested to know more about the Tomcat instances
method you suggested. I have following queries
regarding it and could you help me to understand it
further?

1. Is it possible to run multiple Tomcat instances on
the same machine?

2. How much RAM (in roughly) is required for a single
or additional Tomcat instance without any servlet
loaded? Assume we use latest SUN Javasoft JVM and
latest Tomcat. 

3. Once the RAM limit is specified to a particular
Tomcat instance, what happens if they exceed the
limit? Does it still continue to allocate RAM or does
it give a run-time error?

4. Could you kindly explain (in very brief) where and
how do I specify the RAM limit?

5. What are the issues I should be aware of and keep
in mind when having multiple Tomcat instances on the
same server? 

Kind regards
Sagara







                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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

Reply via email to