On 04/05/07, Marc G. Fournier <[EMAIL PROTECTED]> 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.



Adrian


This was shortly after reboot:

mars# netstat -A | grep stream | wc -l ; sockstat -u | wc -l
    2705
    2981

- 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
now:

mars# netstat -nA | grep stream | wc -l ; sockstat -u | wc -l
    5025
    2905

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
    2126
    2209

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 . [EMAIL PROTECTED]                              MSN . [EMAIL PROTECTED]
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGOlh34QvfyHIvDvMRApSUAJ9jPszXBw83hXPRLbczimNWFtn6WwCgpijT
nDWi/kW4Gt8/J2a4U3n2prk=
=IQCW
-----END PGP SIGNATURE-----




--
Adrian Chadd - [EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to