I made changes for you and believe you should have it like this instead.  If
you don't mind, could you try it out and let us know if this works.  You
bought up a good point and I am experimenting this myself also.

-----Original Message-----
From: Jean-Christophe Rioux [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 08, 2002 3:27 PM
To: [EMAIL PROTECTED]
Subject: Load balancing problem


We got mod_jk working and configuration seem ok.

lbfactor is the same for the 10 servers.

The problem is that the load is not distribute evenly to all the server.
1 or 2 server seem to be receiving all the load.

Does I miss something in the configuration?

Thanks for your help

Jean-Christophe Rioux



worker.web01.port=9999
worker.web01.host=web01
worker.web01.type=ajp13
worker.web01.lbfactor=1
worker.web01.cachesize=30

worker.web02.port=9999
worker.web02.host=web02
worker.web02.type=ajp13
worker.web02.lbfactor=1
worker.web02.cachesize=30

worker.web03.port=9999
worker.web03.host=web03
worker.web03.type=ajp13
worker.web03.lbfactor=1
worker.web03.cachesize=30

worker.web04.port=9999
worker.web04.host=web04
worker.web04.type=ajp13
worker.web04.lbfactor=1
worker.web04.cachesize=30

worker.web05.port=9999
worker.web05.host=web05
worker.web05.type=ajp13
worker.web05.lbfactor=1
worker.web05.cachesize=30

worker.web06.port=9999
worker.web06.host=web06
worker.web06.type=ajp13
worker.web06.lbfactor=1
worker.web06.cachesize=30

worker.web07.port=9999
worker.web07.host=web07
worker.web07.type=ajp13
worker.web07.lbfactor=1
worker.web07.cachesize=30

worker.web08.port=9999
worker.web08.host=web08
worker.web08.type=ajp13
worker.web08.lbfactor=1
worker.web08.cachesize=30

worker.web09.port=9999
worker.web09.host=web09
worker.web09.type=ajp13
worker.web09.lbfactor=1
worker.web09.cachesize=30

worker.web10.port=9999
worker.web10.host=web10
worker.web10.type=ajp13
worker.web10.lbfactor=1
worker.web10.cachesize=30

#note list only includes loadbalancers
#each one will loadbalance on their own so don't expect perfection
#but if you run for thousands, the numbers shouldn't be way off as well
worker.list=loadbalancer1,loadbalancer2

#lb marks this worker has Loadbalancer
#each lb balances 10 ajp connectors
#add more lb workers below and to the worker.list above
#for fault tolerance lb, in case the lb worker fails.
worker.loadbalancer1.type=lb
worker.loadbalancer1.balanced_workers=web01,web02,web03,web04,web05,web06,we
b07,web08,web09,web10

#lb marks this worker has Loadbalancer
worker.loadbalancer2.type=lb
worker.loadbalancer2.balanced_workers=web01,web02,web03,web04,web05,web06,we
b07,web08,web09,web10


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



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

Reply via email to