You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2008/04/04 14:59:54 UTC

Memory for Multiple instances

Hi,

I am running multiple instances of Tomcat5.5 on a Linux (Debian) machine.

I want to set different heap sizes for each instance. Please is there a 
way of setting the available memory in the individual Tomcat instances 
startup scripts

Thank you

Peter Sparkes

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Memory for Multiple instances

Posted by Peter Sparkes <pe...@didm.co.uk>.
Thanks Ben

Peter
> If on linux you can add the following to your init script.
>
> export JAVA_OPTS=[JVM ARGUMENTS_HERE]
>
> then the catalinia.sh will pass them to the jvm on startup.
>
> Regards
>
> Ben Short
>
> On Fri, Apr 4, 2008 at 1:59 PM, Peter Sparkes <pe...@didm.co.uk> wrote:
>   
>> Hi,
>>
>>  I am running multiple instances of Tomcat5.5 on a Linux (Debian) machine.
>>
>>  I want to set different heap sizes for each instance. Please is there a way
>> of setting the available memory in the individual Tomcat instances startup
>> scripts
>>
>>  Thank you
>>
>>  Peter Sparkes
>>
>>  ---------------------------------------------------------------------
>>  To start a new topic, e-mail: users@tomcat.apache.org
>>  To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>  For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Memory for Multiple instances

Posted by ben short <ja...@gmail.com>.
If on linux you can add the following to your init script.

export JAVA_OPTS=[JVM ARGUMENTS_HERE]

then the catalinia.sh will pass them to the jvm on startup.

Regards

Ben Short

On Fri, Apr 4, 2008 at 1:59 PM, Peter Sparkes <pe...@didm.co.uk> wrote:
> Hi,
>
>  I am running multiple instances of Tomcat5.5 on a Linux (Debian) machine.
>
>  I want to set different heap sizes for each instance. Please is there a way
> of setting the available memory in the individual Tomcat instances startup
> scripts
>
>  Thank you
>
>  Peter Sparkes
>
>  ---------------------------------------------------------------------
>  To start a new topic, e-mail: users@tomcat.apache.org
>  To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org