Aurélien D.
Aurélien D.
If it may take more than 1 week for the issue to show up, then maybe the issue was already there with 3.1.0 but not experienced, what do you think?...
The script was written by Tim and is known to work for quite a few years now (requires `lua-load`): https://github.com/TimWolla/haproxy-auth-request So I'm not suspecting a sudden regression there Lua seems...
Indeed you are right, perhaps automatic yield every 10000 instructions is not enough this time because the loop below may be costly: ```lua for name, server in pairs(core.backends[be].servers) do local...
It could to the trick indeed, we could manually set a hook at the end of our "heavy" helpers to force automatic yield (when the context permits it) when returning...
Something like that (we will need to make a list of what we consider expensive helpers): ```diff diff --git a/include/haproxy/hlua.h b/include/haproxy/hlua.h index 18fad9ff2..122e962d0 100644 --- a/include/haproxy/hlua.h +++ b/include/haproxy/hlua.h @@ -50,6...
@vholer 3.2 is out with the above fix included, you may be interested in testing if the issue still persists
Willy is right, you should update. You're affected by 8f1fd96d17588fb571959901bd20d4239b1a96af which is not included in 2.9.4 and could explain the situation you described
I'm also thinking about 64c9c8ef3985bee02213e0726711e7893f5ce71f which was not backported to 2.9 because of patch dependencies, but it could also contribute to this kind of situation with inconsistent state between server...
>Can this be related to https://github.com/haproxy/haproxy/commit/64c9c8ef3985bee02213e0726711e7893f5ce71f or other dependent patches? Yes indeed, I still heavily suspect the mentioned patches. Because of missing 8f1fd96 patch, what could happen is that the...
However note that before https://github.com/haproxy/haproxy/commit/64c9c8ef3985bee02213e0726711e7893f5ce71f (334ebfa1a2c7184b8c9b9e2732dec1d61f8a1d92 in fact, but it is a prerequisite for the bugfix) there may still be a tiny race between the time the server is removed...