BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Ghulam_Hussain

I have configured multiple tomcat servers on a remote linux machine, and
monitors linux applications through Virtuozzo.

When I shutdown the TomcatA while TomcatB is running, the Virtuozzo shows
the Black Zone alert (indicating that linux server is in serious state,
related to system memory).

Similarly when I shutdown TomcatB while TomcatA is running, the same problem
occurs.

But when the one Tomcat server is already stopped, and other Tomcat server
is shutdown, then no problem occurs.

Any clue, that why Black Zone alert occurs.or the Tomcat
servers uses each other resources while being shutdown.

Any help will be appreciated
-- 
View this message in context: 
http://www.nabble.com/BLACK-ZONE-alert-on-Stopping-Tomcat-Server-tp17597316p17597316.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Gabe Wong

Hi Ghulam,
Virtuozzo, is an OS level based VPS. Which means available system 
resources are shared between the VPS.
During Shutdown, a Java process is created; this in turn utilizes a 
burst of RAM. So at that moment you have
3 JVMs running - TomcatA, TomcatB, and ShutdownA. That 3rd JVM may be 
stretching the available resources
on your System. Now after TomcatA is completely shutdown, when you go to 
shutdown TomcatB,
at that particular moment you have 2 JVMS (TomcatB,ShutdownB), which 
your system is able to easily handle.
It is essentially a matter of available system RAM. You may want to 
increase the RAM.


Ghulam_Hussain wrote:

I have configured multiple tomcat servers on a remote linux machine, and
monitors linux applications through Virtuozzo.

When I shutdown the TomcatA while TomcatB is running, the Virtuozzo shows
the Black Zone alert (indicating that linux server is in serious state,
related to system memory).

Similarly when I shutdown TomcatB while TomcatA is running, the same problem
occurs.

But when the one Tomcat server is already stopped, and other Tomcat server
is shutdown, then no problem occurs.

Any clue, that why Black Zone alert occurs.or the Tomcat
servers uses each other resources while being shutdown.

Any help will be appreciated
  



--
Regards

Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.1 - Centrally manage Application Servers across multiple physical servers


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



RE: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Martin Gainty

Is there any way to tune and or configure the individual VPS parameters to 
respect JVM memory parameters ?
for example JAVA_OPTS could be
-Xms256m -Xmx512m -XX:MaxPermSize=512m 

(for example the equivalent VMWare configuration settings)
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKCdocType=kcexternalId=1004059sliceId=1docTypeID=DT_KB_1_1dialogID=67462400stateId=0%200%2067460275

Thank You
Martin

__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


 Date: Mon, 2 Jun 2008 08:05:37 -0700
 From: [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Subject: Re: BLACK ZONE alert on Stopping Tomcat Server
 
 Hi Ghulam,
 Virtuozzo, is an OS level based VPS. Which means available system 
 resources are shared between the VPS.
 During Shutdown, a Java process is created; this in turn utilizes a 
 burst of RAM. So at that moment you have
 3 JVMs running - TomcatA, TomcatB, and ShutdownA. That 3rd JVM may be 
 stretching the available resources
 on your System. Now after TomcatA is completely shutdown, when you go to 
 shutdown TomcatB,
 at that particular moment you have 2 JVMS (TomcatB,ShutdownB), which 
 your system is able to easily handle.
 It is essentially a matter of available system RAM. You may want to 
 increase the RAM.
 
 Ghulam_Hussain wrote:
  I have configured multiple tomcat servers on a remote linux machine, and
  monitors linux applications through Virtuozzo.
 
  When I shutdown the TomcatA while TomcatB is running, the Virtuozzo shows
  the Black Zone alert (indicating that linux server is in serious state,
  related to system memory).
 
  Similarly when I shutdown TomcatB while TomcatA is running, the same problem
  occurs.
 
  But when the one Tomcat server is already stopped, and other Tomcat server
  is shutdown, then no problem occurs.
 
  Any clue, that why Black Zone alert occurs.or the Tomcat
  servers uses each other resources while being shutdown.
 
  Any help will be appreciated

 
 
 -- 
 Regards
 
 Gabe Wong
 NGASI AppServer Manager
 JAVA AUTOMATION and SaaS Enablement
 http://www.ngasi.com
 NEW! 8.1 - Centrally manage Application Servers across multiple physical 
 servers
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008