From owner-svn-src-all@FreeBSD.ORG Sat Dec 8 10:41:07 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B49CC63; Sat, 8 Dec 2012 10:41:07 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 172FE8FC08; Sat, 8 Dec 2012 10:41:06 +0000 (UTC) Received: from localhost (58.wheelsystems.com [83.12.187.58]) by mail.dawidek.net (Postfix) with ESMTPSA id CE8123D1; Sat, 8 Dec 2012 11:39:06 +0100 (CET) Date: Sat, 8 Dec 2012 11:42:35 +0100 From: Pawel Jakub Dawidek To: Bruce Evans Subject: Re: svn commit: r243999 - head/sys/kern Message-ID: <20121208104234.GC1652@garage.freebsd.pl> References: <201212072230.qB7MUUnY098797@svn.freebsd.org> <20121208133242.U995@besplex.bde.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: <20121208133242.U995@besplex.bde.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 10:41:07 -0000 --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 08, 2012 at 02:24:03PM +1100, Bruce Evans wrote: > On Fri, 7 Dec 2012, Pawel Jakub Dawidek wrote: >=20 > > Log: > > Configure UMA warnings for the following zones: > > - unp_zone: kern.ipc.maxsockets limit reached > > - socket_zone: kern.ipc.maxsockets limit reached >=20 > These still have part of the poor grammar, with a redundant "limit". >=20 > I thought that the limit on the number of sockets was on the total > number of sockets. The documentation of its sysctl in sysctl -d still > doesn't say that it is only a per-zone limit (unless you changed this > recently): >=20 > kern.ipc.maxsockets: Maximum number of sockets avaliable All sockets are allocated from one zone: socket_zone, so kern.ipc.maxsockets is both socket_zone limit and a global limit. > > - zone_mbuf: kern.ipc.nmbufs limit reached > > - zone_clust: kern.ipc.nmbclusters limit reached > > - zone_jumbop: kern.ipc.nmbjumbop limit reached > > - zone_jumbo9: kern.ipc.nmbjumbo9 limit reached > > - zone_jumbo16: kern.ipc.nmbjumbo16 limit reached >=20 > Same bug, except the sysctl names are missing "lim" or "max" and repeating > "limit" works around this bug a little. They are all for limits on > numbers, but there names only say "n" (number). [...] I'm sure you are aware of the fact that sysctl names are part of API/ABI and changing them is not something that can be done without good reason. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDDGZoACgkQForvXbEpPzQLWgCdEb5jYqLm0m4xvQZTlx9FdOAs aKMAn16hx5qB3LRzcSLkSm3v3VibpoVK =9afN -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--