kern/102940: No statistics counter records "out of sockets" condition

Ruslan Ermilov ru at FreeBSD.org
Wed Sep 6 16:20:30 UTC 2006


The following reply was made to PR kern/102940; it has been noted by GNATS.

From: Ruslan Ermilov <ru at FreeBSD.org>
To: Poul-Henning Kamp <phk at critter.freebsd.dk>
Cc: Gleb Smirnoff <glebius at FreeBSD.org>, FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: kern/102940: No statistics counter records "out of sockets" condition
Date: Wed, 6 Sep 2006 20:11:26 +0400

 On Wed, Sep 06, 2006 at 12:23:28PM +0000, Poul-Henning Kamp wrote:
 > 
 > 	Nothing  records us hitting the kern.ipc.maxsockets limit
 > 	apart from various syscalls returning ENOBUF.
 > 
 > 	I think the condition should get a counter in netstat -s
 > 	somewhere.
 > 
 I agree with Gleb here, and I also think that instead UMA
 zone statistics should include the FAILURES counter.  That
 way, it would be visible via
 	vmstat -z | head -1; vmstat -z |grep ^socket
 in an imaginary FAILURES column.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru at FreeBSD.org
 FreeBSD committer


More information about the freebsd-bugs mailing list