Hi,
We have set up several contexts eg one for client requests and one for admin
requests, for a set of Tomcat servers, fronted by Apache.
We would like to balance them differently, allowing one machine to take most
of the admin load.
There doesn't seem to be a lbfactor parameter for a loadbalancing worker, so
our second option is to create a seperate client and admin worker for each
machine, and set their lbfactors separately. Unless you can recommend a
better way?
If we go down this route, could you explain how to set up two connectors in
the tomcat's server.xml with different jvmRoute values to put in
workers.properties?
many thanks,
David
From: Mladen Turk <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
To: Tomcat Users List <tomcat-user@jakarta.apache.org>
Subject: Re: mod_jk - multiple workers for same Tomcat instance?
Date: Thu, 14 Jul 2005 20:49:06 +0200
David Hay wrote:
Hi,
Is it possible to specify multiple workers for the same Tomcat instance?
Yes.
But this will impose additional load to the tomcat doubling the number
of connections from apache to mod_jk for each worker.
For ten workers you may end up with 2500 connections with
250 MaxClients defined in the httpd.conf.
We'd like to balance different contexts with different load factors to the
same Tomcat (hope that makes sense!).
No. But you may feel free to express the idea that led you to consider
something like that.
Regards,
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]