🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36460

Re: setrlimit(RLIMIT_STACK, RLIM_INFINITY) error in INN 1.7.2 errlog (on RH5.2)

#36460
From: Russ Allbery
Date: Mon, 12 Apr 1999 00:00
21 lines
1353 bytes
Bettina Fink <laura@terpen.tin.org> writes:

> From setrlimit(2):

>      EPERM  A non-superuser tries to use setrlimit() to
>             increase the soft or hard limit above the current
>             hard limit,

As startinnfeed is running as root, this shouldn't be a problem.

>             or a superuser tries to increase RLIMIT_NOFILE above the
>             current kernel maximum.

As it's setting it to INFINITY, this shouldn't be a problem either, as
that should simply make it the largest possible value for the current
kernel compile.  So I'm still confused.

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

Technical Details
Message-ID: <ylu2umnnvg.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!not-for-mail
References: <7er2ol$qtg$1@news1.guiware.com> <7erghr$a74$1@krell.snafu.de> <ylu2umhcg1.fsf@windlord.stanford.edu> <7esgi4$bu5$1@krell.snafu.de>

Show Full Headers
Complete Article Headers
Message-ID: <ylu2umnnvg.fsf@windlord.stanford.edu>
Subject: Re: setrlimit(RLIMIT_STACK, RLIM_INFINITY) error in INN 1.7.2 errlog (on RH5.2)
Date: Mon, 12 Apr 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7er2ol$qtg$1@news1.guiware.com> <7erghr$a74$1@krell.snafu.de> <ylu2umhcg1.fsf@windlord.stanford.edu> <7esgi4$bu5$1@krell.snafu.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: 465417401
Organization: The Eyrie
Newsgroups: news.software.nntp