Re: Squid, events, and file descriptors

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 27 Jun 2008 15:51:11 +0200

On fre, 2008-06-27 at 13:41 +0100, Bradley Kite wrote:

> I have another failure, this time with the extra DNS debug output.
>
> I have just reliased that our load balancer, which also load-balances
> DNS lookups, was not properly configured to support TCP (only UDP DNS
> lookups). I think this might be triggering the bug. I will fix this
> issue and let you know if this fixes it.

It at least triggers one bug, the high rate and never ending
retransmission.

But not sure about the user visible bug where the DNS queue apparently
stops being processed. In my tests the queue continued getting processed
like expected.. or at least I think so..

The attached patch fixes the first issue by letting the retransmit queue
recover the query TCP failed instead of immediately trying to resend the
query, but I have no idea how to trigger the second.. The queue code
looks sane to me. But maybe it fixes that as well...??

Regards
Henrik

Received on Fri Jun 27 2008 - 13:51:18 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 27 2008 - 12:00:07 MDT