Am Thu, 10 Dec 2009 16:44:35 -0500
schrieb Arunkumar Janarthanan <arunkumar.webad...@gmail.com>:

> We have a 4 Apache & Tomcat instances running on and trying to setup a

What do you mean with "4 Apache & Tomcat" exactly?

> custom message by redirecting user to different Apache instance with
> "currently we are expereincing HIGH traffic, please visit later"

Is this a problem of overload of the Apache or of the Tomcats? If
Tomcat isn't answering the forwarded requests of an Apache-webserver
fast enough Apache will show a error-page (IIRC error code 503). You
could change the content of this page to something less mysterious. If
your application supports load balancing you could use mod_proxy or
mod_jk to use one Apache as load balancer but you should have carefully
tested the ability of your application to run in a load-balanced
environment (e.g. session handling, DB-connection pooling,...).

If your application is getting irreparable unstable by overload it
might help if you limit the number of connections that the
Apache-Tomcat-connector allows.


Gruß,
 Tobias.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to