Article View: news.software.nntp
Article #10897Re: INN 1.4unoff4 trouble with too many files open
From: Michael Beckmann
Date: Mon, 16 Sep 1996 00:00
Date: Mon, 16 Sep 1996 00:00
23 lines
1357 bytes
1357 bytes
Michael Beckmann wrote: > Server throttled Too many open files writing article file -- throttling > > This is apparently not an OS limitation, because I have compiled my > kernel with MAXUSERS set to 256 and raised the maximum number of open > files to 20000 with sysctl... This problem was solved. It was not a kernel or OS problem, it was a resource limitation in the /bin/sh that executes the rc.news script. The shell was set to a limit of 64 open files (ridiculous). I added some ulimit statements in the beginning of rc.news, and now the problem is gone. The limit of maximum processes also needed to be increased. This helped: ulimit -n 1000 ulimit -u 1000 Michael
Technical Details
Message-ID:
<323D649B.13D0@nacamar.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<32383AB8.24FA@nacamar.de>Show Full Headers
Complete Article Headers
Message-ID: <323D649B.13D0@nacamar.de> Subject: Re: INN 1.4unoff4 trouble with too many files open Date: Mon, 16 Sep 1996 00:00:00 +0000 From: Michael Beckmann <beckmann@nacamar.de> References: <32383AB8.24FA@nacamar.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 180891548 Content-type: text/plain; charset=us-ascii Organization: Nacamar Data Communications Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 3.0 (WinNT; I)