tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <>
Subject Re: LB with mod_jk 2
Date Mon, 24 Nov 2003 13:39:47 GMT
Bill Barker wrote:
> "Remy Maucherat" <> wrote in message
>>I got a support question about LB with mod_jk 2 (and I saw posts about
>>that on tomcat-user).
>>Either there's something I don't understand, or the
>>jk2_get_most_suitable_worker method in jk_worker_lb will always return
>>the first worker which is not in an error state (assuming there was no
>>session), causing all requests to be redirected to the first declared
>>worker in a group.
>>So did I miss something, or is the algorithm bad ?
> My recollection is that the algorithm is bad.  Of course, I'm currently of
> the opinion that mod_jk2 is hopelessly broken, so I don't spend much time
> there :).  At best, it suffers from the same problems as mod_jk if you are
> using the pre-fork MPM, so it doesn't work at all.  mod_jk2 will need to
> save this to the smem file in order to work with pre-fork.

The same configuration did get LB working ok with mod_jk 1.2.x.

It seems mod_jk 2 woul need work indeed ;-) In the meantime, I'll 
recommend using mod_jk 1.2.x. Maybe I'll have time to help improve 
mod_jk 2.0, who knows.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message