From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 6 16:20:30 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC0E16A4DA for ; Wed, 6 Sep 2006 16:20:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9415443D6E for ; Wed, 6 Sep 2006 16:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k86GKQdH009357 for ; Wed, 6 Sep 2006 16:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k86GKQgH009356; Wed, 6 Sep 2006 16:20:26 GMT (envelope-from gnats) Date: Wed, 6 Sep 2006 16:20:26 GMT Message-Id: <200609061620.k86GKQgH009356@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ruslan Ermilov Cc: Subject: Re: kern/102940: No statistics counter records "out of sockets" condition X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruslan Ermilov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 16:20:30 -0000 The following reply was made to PR kern/102940; it has been noted by GNATS. From: Ruslan Ermilov To: Poul-Henning Kamp Cc: Gleb Smirnoff , FreeBSD-gnats-submit@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@FreeBSD.org FreeBSD committer