Re: squid, DNS and no buffer space

Lloyd Parkes <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <d5bc3ef3a0afb2744a7a993eb611eac80025b783.camel@must-have-coffee.gen.nz>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.