🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83044

CNFS Error: Too many open files (INN 2.5 on CentOS 5.1)

#83044
From: Etian
Date: Mon, 10 May 2010 21:55
23 lines
1739 bytes
After adding the 200th cyclic buffer, it gave the error message, then 
began filling the disk with syslog messages.

I edited /etc/security/limits.conf:
  news		hard	nofile		16384
  news		soft	nofile		16384

I edited the init.d file to set ulimit before starting innd:

         echo -n "Starting INND system: "
	ulimit -n 16384
         sudo -u news /usr/local/inn/bin/rc.news start
         RETVAL=$?
         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/innd

And I still get this error message:
innd: CNFS: ERROR opening '/usr/local/inn/spool/cycbuffs/200/CB203' 
O_RDONLY: Too many open files

As always, I deeply appreciate the help.

Etian
sonic-news
Technical Details
Message-ID: <80d35$4be880d1$bb92dd2b$15035@news.anarqy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news-out.sonic-news.com!news.anarqy.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <80d35$4be880d1$bb92dd2b$15035@news.anarqy.com>
Subject: CNFS Error: Too many open files (INN 2.5 on CentOS 5.1)
Date: Mon, 10 May 2010 15:55:28 -0600
From: Etian <54698212@sonic-news.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news-out.sonic-news.com!news.anarqy.com!not-for-mail
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@anarqy.com
Organization: www.anarqy.com
Lines: 23
NNTP-Posting-Date: Mon, 10 May 2010 16:55:29 -0500
X-Trace: 80d354be880d11e37788e15035