What triggers "No Buffer Space Available"?

Marc G. Fournier scrappy at freebsd.org
Wed May 2 17:34:56 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Wednesday, May 02, 2007 11:00:17 +0800 Adrian Chadd <adrian at freebsd.org> 
wrote:


> It doesn't panic whe it happens, no?

Nope ... I can login via ssh (sometimes it takes a try or two, but I can always 
login) and then do a 'reboot', and all is well again for another 72 hours or so 
...

> I'd check the number of sockets you've currently got open at that
> point.

ie:

# netstat | egrep "tcp4|udp4" | awk '{print $1}' | uniq -c
 171 tcp4
 103 udp4

or is there a better command I should be using?

> Some applications might be holding open a whole load of sockets
> and their buffers stay allocated until they're closed. If they don't
> handle/don't get told about the error then they'll just hold open the
> mbufs.

Is there any way of determining which apps are holding open which sockets?  ie. 
lsof for open files?

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGOMu/4QvfyHIvDvMRAldVAJ9B4uUUGbON16nWw+dR5QKveyQevACgju4M
TtBVUWAqf2PGqHVQxOnRbew=
=4/1c
-----END PGP SIGNATURE-----



More information about the freebsd-stable mailing list