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, 2 Dec 2024, Michael van Elst wrote:
netbsd%precedence.co.uk@localhost (Stephen Borrill) writes:
As the first line suggests, named is running on the host itself (and is
set to forward to another host on the same LAN). Both should be caching.
# netstat -m
31927 mbufs in use:
19124 mbufs allocated to data
12800 mbufs allocated to packet headers
3 mbufs allocated to socket names and addresses
32 calls to protocol drain routines
Does this go down when you stop squid (and possibly other network activity) ?
Unfortunately, stopping squid isn't really an option I can use for
debugging here.
An MBUFTRACE kernel might show where the mbufs are used, but there
is lots of code that fails to implement it correctly.
kern.mbuf.nmbclusters = 1038371
Here's a netstat -mssv at the time when squid is complaining:
18043 mbufs in use:
3502 mbufs allocated to data
14538 mbufs allocated to packet headers
3 mbufs allocated to socket names and addresses
0 calls to protocol drain routines
small ext cluster
lo0 inuse 0 0 0
claims 107416168 159506 159506
releases 107416168 159506 159506
cdce0 rx inuse 0 0 0
claims 0 0 0
releases 0 0 0
cdce0 tx inuse 0 0 0
claims 0 0 0
releases 0 0 0
nfsd cache inuse 0 0 0
claims 0 0 0
releases 0 0 0
route rtm inuse 0 0 0
claims 281590 0 0
releases 281590 0 0
internet arp inuse 0 0 0
claims 1459870 1449899 1449899
releases 1459870 1449899 1449899
unix inuse 0 0 0
claims 2632776 818995 818995
releases 2632776 818995 818995
link inuse 0 0 0
claims 0 0 0
releases 0 0 0
small ext cluster
key inuse 0 0 0
claims 0 0 0
releases 0 0 0
internet6 inuse 0 0 0
claims 1175360 645762 645762
releases 1175360 645762 645762
carp6 tx inuse 0 0 0
claims 0 0 0
releases 0 0 0
carp6 rx inuse 0 0 0
claims 0 0 0
releases 0 0 0
carp tx inuse 0 0 0
claims 0 0 0
releases 0 0 0
carp rx inuse 0 0 0
claims 0 0 0
releases 0 0 0
tcp inuse 14538 0 0
claims 6036881 0 0
releases 6022343 0 0
tcp sock rx inuse 0 0 0
claims 498340460 363569745 363569745
releases 498340460 363569745 363569745
small ext cluster
tcp sock tx inuse 430 330 330
claims 1219273099 979309109 979309109
releases 1219272669 979308779 979308779
tcp sock inuse 0 0 0
claims 0 0 0
releases 0 0 0
tcp reass inuse 0 0 0
claims 3462546 1976074 1976074
releases 3462546 1976074 1976074
tcp rx inuse 0 0 0
claims 426969642 321437608 321437608
releases 426969642 321437608 321437608
tcp tx inuse 0 0 0
claims 456453945 2 2
releases 456453945 2 2
udp inuse 0 0 0
claims 1431280 0 0
releases 1431280 0 0
udp rx inuse 0 0 0
claims 6462971 1416337 1416337
releases 6462971 1416337 1416337
udp tx inuse 0 0 0
claims 1881434 0 0
releases 1881434 0 0
small ext cluster
internet rx inuse 0 0 0
claims 429297677 322328596 322328596
releases 429297677 322328596 322328596
internet tx inuse 0 0 0
claims 458456063 9518 9518
releases 458456063 9518 9518
internet inuse 0 0 0
claims 544962 161712 161712
releases 544962 161712 161712
bluetooth inuse 0 0 0
claims 0 0 0
releases 0 0 0
atalk arp inuse 0 0 0
claims 0 0 0
releases 0 0 0
atalk rx inuse 0 0 0
claims 0 0 0
releases 0 0 0
atalk tx inuse 0 0 0
claims 0 0 0
releases 0 0 0
appletalk inuse 0 0 0
claims 0 0 0
releases 0 0 0
small ext cluster
route rtm inuse 0 0 0
claims 0 0 0
releases 0 0 0
wm1 rx inuse 0 0 0
claims 211281578 211281578 211281578
releases 211281578 211281578 211281578
wm1 tx inuse 0 0 0
claims 174113268 17774513 17774513
releases 174113268 17774513 17774513
wm0 rx inuse 0 0 0
claims 113015759 113015759 113015759
releases 113015759 113015759 113015759
wm0 tx inuse 0 0 0
claims 415857652 150683321 150683321
releases 415857652 150683321 150683321
nfs inuse 0 0 0
claims 21258358 10629214 10629214
releases 21258358 10629214 10629214
unknown free inuse 0 0 0
claims 0 0 0
releases 0 0 0
unknown data inuse 3072 3072 3072
claims 1554727303 324292671 324292671
releases 1554724231 324289599 324289599
small ext cluster
unknown header inuse 0 0 0
claims 459279408 0 0
releases 459279408 0 0
unknown soname inuse 3 0 0
claims 4256515 0 0
releases 4256512 0 0
unknown soopts inuse 0 0 0
claims 0 0 0
releases 0 0 0
unknown ftable inuse 0 0 0
claims 0 0 0
releases 0 0 0
unknown control inuse 0 0 0
claims 957 0 0
releases 957 0 0
unknown oobdata inuse 0 0 0
claims 0 0 0
releases 0 0 0
revoked inuse 0 0 0
claims 0 0 0
releases 0 0 0
--
Stephen
Home |
Main Index |
Thread Index |
Old Index