Date: Sat, 19 Aug 2006 17:02:43 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Lisa Casey <lisa@jellico.com> Cc: freebsd-questions@freebsd.org Subject: Re: Tuning FreeBSD Message-ID: <20060819210243.GA61102@xor.obsecurity.org> In-Reply-To: <000501c6c3cf$044f72c0$e0891342@net> References: <000501c6c3cf$044f72c0$e0891342@net>
next in thread | previous in thread | raw e-mail | index | archive | help
--HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 19, 2006 at 04:35:29PM -0400, Lisa Casey wrote: > Hi Folksm >=20 > I'm getting these on a FreeBSD 5.3 box: >=20 > Aug 19 15:46:32 radius sm-mta[12850]: k7JJk1rt012776: SYSERR(UID0): fill_= fd: > disconnect: cannot open /dev/null: > Too many open files in system > Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, ple= ase > see tuning(7). > Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, ple= ase > see tuning(7). > Aug 19 15:46:35 radius sm-mta[12784]: k7JJk7F0012784: SYSERR(UID0): queue= up: > cannot create queue file ./qfk7JJk > 7F0012784, euid=3D0, fd=3D-1, fp=3D0x0: Too many open files in system >=20 > I checked, and the system shows: >=20 > radius# sysctl kern.maxfiles > kern.maxfiles: 1416 > radius# sysctl kern.maxusers > kern.maxusers: 43 >=20 > I googled and read that kern.maxfiles is dependent upon kern.maxusers and > that I shou;d raise maxusers which I tried to do via sysctl: > radius# sysctl -w kern.maxusers=3D50 > sysctl: oid 'kern.maxusers' is a read only tunable > sysctl: Tunable values are set in /boot/loader.conf >=20 > My /boot/loader.conf is a zero byte length file. >=20 > How can I fix this too many open files problem? Edit loader.conf and make the specified change, then reboot. See the loader.conf manpage for more. Kris --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE53xzWry0BWjoQKURAqN6AJ9ajt0so7m1SXzn8Fag4mVtLV1wEACgsnB5 mTzGbADXgppKTQTIVm1PoZg= =k/W0 -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060819210243.GA61102>