Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 11:42:35 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r243999 - head/sys/kern
Message-ID:  <20121208104234.GC1652@garage.freebsd.pl>
In-Reply-To: <20121208133242.U995@besplex.bde.org>
References:  <201212072230.qB7MUUnY098797@svn.freebsd.org> <20121208133242.U995@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121208104234.GC1652>