Hi Maksim,

On Wed, Apr 24, 2019 at 08:39:23AM +0300, ?????? ????????? wrote:
> Hi!
> 
> It seems to me there is something wrong with this patch: for some reason
> process stops responding with 100% CPU used by all threads.

Ouch! This looks like an awful AB/BA deadlock. Indeed,
fwrr_get_server_from_group() wants the lbprm lock and will grab the
server's lock while fwrr_update_server_weight() wants the server's
lock to be held and will use the lbprm lock :-(

I need to revisit all this then :-(

Thanks for the report, it's extremely useful!
Willy

Reply via email to