Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 11:09:41 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        James FitzGibbon <james@targetnet.com>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   How to rememdy ENOBUFS return from socket(2) ?
Message-ID:  <200002281609.LAA52053@khavrinen.lcs.mit.edu>
In-Reply-To: <20000228103711.B10570@targetnet.com>
References:  <20000228103711.B10570@targetnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 28 Feb 2000 10:37:11 -0500, James FitzGibbon <james@targetnet.com> said:

> My question is: if the system is running out of space in this zone, should I
> be tweaking kern.ipc.maxsockets using sysctl, or trying to hunt down
> whatever errant process is sucking up the zone ?

kern.ipc.maxsockets is read-only.  You'll have to change it in your
kernel configuration (or from the boot loader) if that's really the
problem.

maxsockets should be 24616 (==maxfiles) according to the config
snippet you posted.  If your machine actually has 24,000 active
sockets, perhaps there's something wrong with it.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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