Date: Fri, 7 Mar 1997 02:07:35 -0500 From: "Troy Settle" <rewt@i-Plus.net> To: The Hermit Hacker <scrappy@hub.org>, questions@freebsd.org Subject: Re: Too many open files... Message-ID: <199703070655.BAA26976@Radford.i-Plus.net> In-Reply-To: <Pine.BSF.3.95.970306151104.7093D-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi... > > I'm running a news server on a FreeBSD 2.2-CURRENT machine (it > was CURRENT when I upgraded to it way way back) and have just added a > few news feeds onto it. Over the past couple of days, I've started to > get the following error, which I'm assuming is a result of now having > more newsfeeds then my currently compiled kernel can handle (am upgrading > to the Feb 3.0-CURRENT over the next few days: > > news> ctlinnd mode > Server throttled Too many open files writing article file -- throttling > Allowing remote connections > Parameters c 14 i 0 (28) l 1000000 o 115 t 300 H 2 T 60 X 0 normal specified > Not reserved > Readers separate enabled > > Am I correct in doing the following to fix/reduce this problem: > > hub# sysctl kern.maxfilesperproc > kern.maxfilesperproc: 2088 > hub# sysctl kern.maxfiles > kern.maxfiles: 2088 > hub# sysctl -w kern.maxfiles=4096 > kern.maxfiles: 2088 -> 4096 > hub# ^files^filesperproc > sysctl -w kern.maxfilesperproc=4096 > kern.maxfilesperproc: 2088 -> 4096 > > Am more or less wondering if I've set the correct values... > > Thanks... I thought it was something like: MAXFILES=XXXX oh... wait, that's some other OS.... oh well Actually, I've been having the same problem lately on a 2.2-GAMMA box, and am wondering what all that sysctl stuff is. Isn't there a kernel config option I can use? --Troy -- Troy Settle <st@i-Plus.net> Network Administrator, iPlus Internet Services http://www.i-Plus.net ( Stuff I said does not reflect the company I work ) ( for unless I'm speaking on behalf of said company )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703070655.BAA26976>
