What triggers "No Buffer Space Available"?
adrian at freebsd.org
Fri May 4 00:08:42 UTC 2007
On 04/05/07, Marc G. Fournier <scrappy at freebsd.org> wrote:
> 'k, all I'm looking at right now is the Unix Domain Sockets, and the output of
> netstat -> sockstat is growing since I first started counting both ..
Hm! What about graphing them? It shouldn't be hard to write an mrtg
shell script data source to graph these things on your different
servers to compare/contrast. You could graph different chunks of the
netstat -m output along with the stuff below.
Ever played with munin, btw? The exercise would be to find other stuff
on the system to correlate against your apparent unbounded socket
growth and then investigate possible causation.
> This was shortly after reboot:
> mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l
> - From your explanation above, I'm guessing that the higher sockstat #s is where
> you were talking about one socket being used by multiple processes? But, right
> mars# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l
> sockstat -u #s are *down*, but netstat -na is almost double ...
> Again, based on what you state above: "Sockets can also exist without any
> referencing process (if the application closes, but there is still data
> draining on an open socket)."
> Now, looking at another 6-STABLE server, but one that has been running for 2
> months now, I'm seeing numbers more consistent with what mars looks like
> shortly after all the jails start up:
> venus# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l
> So, if those sockets on mars are 'still draining on an open socket', is there
> some way of finding out where? If I'm understanding what you've said above,
> these 'draining sockets' don't have any processes associated with them anymore?
> So, its not like I can just kill off a process, correct?
> - ----
> 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)
> -----END PGP SIGNATURE-----
Adrian Chadd - adrian at freebsd.org
More information about the freebsd-stable