From phk@critter.freebsd.dk  Wed Sep  6 14:58:19 2006
Return-Path: <phk@critter.freebsd.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 990EA16A4DE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Sep 2006 14:58:19 +0000 (UTC)
	(envelope-from phk@critter.freebsd.dk)
Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ECA1943D53
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Sep 2006 14:58:18 +0000 (GMT)
	(envelope-from phk@critter.freebsd.dk)
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2])
	by phk.freebsd.dk (Postfix) with ESMTP id 1921A170C5
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Sep 2006 14:58:17 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1])
	by critter.freebsd.dk (8.13.8/8.13.8) with ESMTP id k86CNSYq047391
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Sep 2006 12:23:29 GMT
	(envelope-from phk@critter.freebsd.dk)
Received: (from phk@localhost)
	by critter.freebsd.dk (8.13.8/8.13.8/Submit) id k86CNSMG047390;
	Wed, 6 Sep 2006 12:23:28 GMT
	(envelope-from phk)
Message-Id: <200609061223.k86CNSMG047390@critter.freebsd.dk>
Date: Wed, 6 Sep 2006 12:23:28 GMT
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
Reply-To: Poul-Henning Kamp <phk@critter.freebsd.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: No statistics counter records "out of sockets" condition
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         102940
>Category:       kern
>Synopsis:       No statistics counter records "out of sockets" condition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 06 15:00:36 GMT 2006
>Closed-Date:    Sat Oct 28 18:15:54 GMT 2006
>Last-Modified:  Sat Oct 28 18:20:21 GMT 2006
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sat Sep 2 14:15:44 UTC 2006 root@critter.freebsd.dk:/critter/obj/critter/src/sys/TP41P i386


	
>Description:

	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.

>How-To-Repeat:

	Run a HTTP cache with a lot of traffic.

>Fix:

	


>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc: Gleb Smirnoff <glebius@FreeBSD.org>, 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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/102940: commit references a PR
Date: Sat, 21 Oct 2006 09:08:52 +0000 (UTC)

 glebius     2006-10-21 09:08:35 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.bin/vmstat       vmstat.c 
   Log:
   Print the number of allocation failures in UMA zones.
   
   PR:     kern/102940
   
   Revision  Changes    Path
   1.93      +4 -4      src/usr.bin/vmstat/vmstat.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: glebius 
State-Changed-When: Sat Oct 21 18:33:27 UTC 2006 
State-Changed-Why:  
Fixed vmstat to print statistics on the zone allocation failures. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102940 
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Sat Oct 21 18:34:06 UTC 2006 
Responsible-Changed-Why:  
grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102940 
State-Changed-From-To: patched->closed 
State-Changed-By: glebius 
State-Changed-When: Sat Oct 28 18:15:22 UTC 2006 
State-Changed-Why:  
Merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102940 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/102940: commit references a PR
Date: Sat, 28 Oct 2006 18:15:22 +0000 (UTC)

 glebius     2006-10-28 18:15:13 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     usr.bin/vmstat       vmstat.c 
   Log:
   MFC rev. 1.93, 1.94:
     - Print the number of allocation failures in UMA zones.
     - Add comma after REQUESTS field missed in previous commit.
     - Widen some columns; make width of header columns less cryptic.
   
     PR:   kern/102940
   
   Approved by:    re (hrs)
   
   Revision  Changes    Path
   1.86.2.4  +4 -4      src/usr.bin/vmstat/vmstat.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
