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 Fri, Dec 06, 2024 at 02:49:03PM +0000, Stephen Borrill wrote:
> At 13:17 I doubled the values again:
> 13:17   sysctl -w kern.somaxkva=134217728
> 13:17   sysctl -w kern.sbmax=134217728
> 
> The warnings continued:

sbmax is the limit for a single socket buffer.
somaxkva is the limit for the whole network stack.

If you make the same size, this allows one socket buffer to
eat all allowed memory. I doubt that this is the problem,
otherwise you'd need more mbufs allocated to fill the
larger somaxkva now, but the netstat output didn't change.

But please verify with somaxkva >> sbmax (and a much
smaller sbmax).


Greetings,
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index