🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68628

Re: INND service suddenly stop

#68628
From: Russ Allbery
Date: Mon, 15 Mar 2004 19:57
25 lines
2341 bytes
Paul Tomblin <ptomblin+netnews@xcski.com> writes:
> In a previous article, "AY" <alvis@email.com> said:

>> oh, that's mean i cannot change the limitation ?

> It's OS dependant.  The above referenced file has instructions for
> increasing it on Solaris.  Elsewhere on the thread, people have
> mentioned how to increase it for Linux using limit or ulimit.  If you're
> using a different OS, you're going to have to do some research.

If you can increase it with ulimit as a non-root user, you can just set it
to 256 or whatever you need in inn.conf and INN will do it directly.  INN
uses setrlimit with that value.  The only time that you need to change it
via some other mechanism is when you need to increase it above the
system-wide hard limit.  root privileges are needed to do that, so you
have to do it in the init script that calls INN before dropping privileges
to the news user, or you need to do it on a system-wide basis (hints for
how to do that for Solaris and Linux are in the INSTALL guide).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <8765d5dgsp.fsf@windlord.stanford.edu>
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!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <40552002$1@lungfunggdn.org> <40565977$1@lungfunggdn.org> <c347t4$t5d$2@allhats.xcski.com> <405693ef$1@lungfunggdn.org> <c34d35$vf1$1@allhats.xcski.com>

Show Full Headers
Complete Article Headers
Message-ID: <8765d5dgsp.fsf@windlord.stanford.edu>
Subject: Re: INND service suddenly stop
Date: Mon, 15 Mar 2004 11:57:42 -0800
From: Russ Allbery <rra@stanford.edu>
References: <40552002$1@lungfunggdn.org> <40565977$1@lungfunggdn.org> <c347t4$t5d$2@allhats.xcski.com> <405693ef$1@lungfunggdn.org> <c34d35$vf1$1@allhats.xcski.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.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 24
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1079380662 21309 171.64.19.147 (15 Mar 2004 19:57:42 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:G+yS9gbx3hfQ1GP5J6/2JQe7U+I=