Re: Truncated health check response from real servers

From: Nick Chalk <nick#loadbalancer.org>
Date: Wed, 10 Feb 2010 22:56:14 +0000


Thanks Willy, Krzysztof.

2010/2/10 Willy Tarreau <w#1wt.eu>:
> Did you managed to fix the several remaining issues which could cause
> it to crash the process ?

I believe so, following Cyril Bonté's suggestions last week. I'm still testing it, though.

2010/2/10 Krzysztof Olędzki <ole#ans.pl>:
> On 2010-02-10 23:02, Willy Tarreau wrote:
>> Krzysztof Oledsky 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.

Thanks - I'll try that tomorrow, and report my findings.

What was confusing me was that the test would succeed a fair proportion of the time!

Nick.

-- 
Nick Chalk.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/
Received on 2010/02/10 23:56

This archive was generated by hypermail 2.2.0 : 2010/02/11 00:00 CET