🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Etian Mon, 10 May 2010 21:55
CNFS Error: Too many open files (INN 2.5 on CentOS 5.1)
#83044
Author: 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
Re: CNFS Error: Too many open files (INN 2.5 on CentOS 5.1)
#83047
Author: Etian
Date: Tue, 11 May 2010 14:44
26 lines
2024 bytes
Etian wrote:
> 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

Resolved! Changed rlimit-nofile in inn.conf (it was set at 256)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads