I forgot to mention that I am using the following software: Apache: apache_2.0.47-win32-x86-no_ssl.msi JK2: mod_jk2-2.0.43.dll AND the 2.0.4 mod_jk.so from the jakarta site. Tomcat: 4.1.27
> -----Original Message----- > From: Angus Mezick > Sent: Thursday, April 08, 2004 9:44 AM > To: [EMAIL PROTECTED] > Subject: I think lb_factor in JK2 is broken (or just > backwards from JK) > > > Web01 is running apache > Web01 and web02 are running tomcat > I set web01 to lb_factor=1 > I set web02 to lb_factor=15 > > I would expect web02 to get 15 requests for every 1 request that web01 > gets. In reality the reverse happens!! Web01 gets 15 requests for > every one that web02 gets. To test this I just added the line "This > tomcat is running on web0X" to my two index.jsp's. The only > documentation for lb_factor in jk2 is at > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config > webcom.htm > l: > > lb_factor 1 Load balancing factor to use. At this moment, > it'll be set on the worker, but in future it should be possible to use > lb on a channel level. > > I was assuming that it worked the same as the lbfactor in JK. > Especially because the docs on jk2 used to list this parameter as > lbfactor until I submitted a patch. > > Can anyone confirm what I am seeing? I want to make sure I > am not going > nuts. > > > > # only at beginning. In production comment it out > [logger.apache2] > level=0 > > [shm] > file=/ApacheGroup/Apache2/logs/jk2.shm > size=1048576 > > ################################################################ > # LOAD BALANCERS # > ################################################################ > [lb:lbTest] > info=Load balanced group for www test > debug=0 > recovery=15 > noWorkerMsg=We are sorry for the delay, the servers are undergoing > speedy servicing. > > [lb:lbTestAffinity] > info=Load balanced group for test sites needing affinity > debug=0 > recovery=15 > noWorkerMsg=We are sorry for the delay, the servers are undergoing > speedy servicing. > > > ################################################################ > # CHANNELS # > ################################################################ > [channel.socket:web01Test:8019] > port=8019 > host=web01.guidestarisp.net > lb_factor=1 > group=lbTest > > [channel.socket:web02Test:8019] > port=8019 > host=web02.guidestarisp.net > lb_factor=15 > group=lbTest > > [ajp13:web01Test:8019] > channel=channel.socket:web01Test:8019 > [ajp13:web02Test:8019] > channel=channel.socket:web02Test:8019 > > [uri:test.guidestar.org/*.jsp] > group=lbTest > [uri:test.guidestar.org/*.inc] > group=lbTest > [uri:test.guidestar.org/servlet/*] > group=lbTest > [uri:test.guidestar.org/*.gs] > group=lbTest > [uri:test.guidestar.org/*.wga] > group=lbTest > [uri:test.guidestar.org/*.flexi] > group=lbTest > > > (You need to view the source of index.jsp to see the web0x number) > > Angus Mezick > GuideStar - Philanthropic Research Inc. > 427 Scotland St. > Williamsburg, Virginia 23185 > PHONE: (757)299-4631 x35 FAX:(757)229-8912 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > www.guidestar.org <http://www.guidestar.org> > > --------------------------------------------------------------------- > 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]
