🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34931

Re: timehash: ... Too many open files

#34931
From: Gary Mills
Date: Fri, 22 Jan 1999 00:00
32 lines
1793 bytes
In <78876c$3iu@greve.ucs.ubc.ca> lindholm@ucs.ubc.ca (George Lindholm) writes:


>Recently I started having problems with inn-2.1 where I would see

>Jan 21 12:50:08 nntp.ITServices.ubc.ca innd: timehash: could not open /usr/local/news/spool/articles/time-0a/a7/93/2356-3600 Too many open files
>Jan 21 12:50:08 nntp.ITServices.ubc.ca innd: SERVER cant store article

Yes, I had the same problem, and submitted a bug report on it.  Apparently,
innd is not managing file descriptors correctly, or perhaps not reserving
enough for the storage manager.  This is under Solaris 2.6 where the
default file descriptor limit is 64.  Here's my workaround...

*** rc.news~	Sun Dec 13 17:50:03 1998
--- rc.news	Mon Dec 28 13:42:58 1998
***************
*** 95,101 ****
--- 95,104 ----
  
  ##  Start the show.
  echo 'Starting innd.'
+ (
+ ulimit -n 128
  eval ${WHAT} ${RFLAG} ${INNFLAGS}
+ )
  
  # Gee, looks like lisp, doesn't it?
  ${DOINNWATCH} && {
-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

Technical Details
Message-ID: <788kh5$d6r$1@canopus.cc.umanitoba.ca>
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
References: <78876c$3iu@greve.ucs.ubc.ca>

Show Full Headers
Complete Article Headers
Message-ID: <788kh5$d6r$1@canopus.cc.umanitoba.ca>
Subject: Re: timehash: ... Too many open files
Date: Fri, 22 Jan 1999 00:00:00 +0000
From: mills@cc.umanitoba.ca (Gary Mills)
References: <78876c$3iu@greve.ucs.ubc.ca>
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: 435448169
X-Complaints-To: Postmaster@cc.umanitoba.ca
X-Trace: canopus.cc.umanitoba.ca 916968805 13531 130.179.16.28 (22 Jan 1999 01:33:25 GMT)
Organization: The University of Manitoba
NNTP-Posting-Date: 22 Jan 1999 01:33:25 GMT
Newsgroups: news.software.nntp