On 2010-02-10 23:02, Willy Tarreau wrote:
<CUT>
We are seeing both real servers repeatedly going on- and off-line with
a period of tens of seconds. Packet tracing, stracing, and adding
debug code to HAProxy itself has revealed that the real servers are
always responding correctly, but HAProxy is sometimes receiving only
part of the response.
Indeed, the checks are rather simple right now, they parse the response
at once. Krzysztof Oledsky
Oledzki ;) I understand my surname is not very easy but there is no need
to make it so eastern. ;)
proposed a patch to make use of recv(MSG_PEEK)
in order to leave incomplete data in kernel buffers instead of consuming
it. I don't think it could have any side effect, you may want to try it.
It was about 3-4 weeks ago on the list.
Yep, it is worth to try it, but it is still a dirty fix. I have idea how
to make it right, but haven't been able to find time to do it, yet.
Best regards,
Krzysztof Olędzki