tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: squid, DNS and no buffer space



On Mon, 2024-12-02 at 15:11 +0000, Stephen Borrill wrote:
> On a busy squid proxy server, users are seeing performance problems
> and 
> squid is logging the following:
> 
> 2024/12/02 15:00:06 kid1| comm_udp_sendto FD 9, (family=2)
> 127.0.0.1:53: (55) No buffer space available
> 2024/12/02 15:00:06 kid1| idnsSendQuery FD 9: sendto: (55) No buffer
> space available
> 

Now I remember, I have seen this before. BIND assumes it's running as a
forwarder for an ISP and that it will therefore be expected to cache
the entire Internet's DNS. It will use all available memory.

I had to add the following

	max-cache-size 25%;

to the options block in my named.conf to get reasonable behaviour on my
multi-purpose server.

Ngā mihi,
Lloyd



Home | Main Index | Thread Index | Old Index