DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28289>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28289 lb_factor works backwards from the way it is implemented in JK Summary: lb_factor works backwards from the way it is implemented in JK Product: Tomcat 4 Version: 4.1.30 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Connector:Coyote JK 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JK 2.0.4 Apache 2.0.47 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/configwebcom.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.URL.net lb_factor=1 group=lbTest [channel.socket:web02Test:8019] port=8019 host=web02.URL.net lb_factor=15 group=lbTest [ajp13:web01Test:8019] channel=channel.socket:web01Test:8019 [ajp13:web02Test:8019] channel=channel.socket:web02Test:8019 [uri:test.URL.org/*.jsp] group=lbTest [uri:test.URL.org/*.inc] group=lbTest [uri:test.URL.org/servlet/*] group=lbTest [uri:test.URL.org/*.gs] group=lbTest [uri:test.URL.org/*.wga] group=lbTest [uri:test.URL.org/*.flexi] group=lbTest --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]