Article View: news.software.nntp
Article #36471Re: setrlimit(RLIMIT_STACK, RLIM_INFINITY) error in INN 1.7.2 errlog (on RH5.2)
From: Bettina Fink
Date: Mon, 12 Apr 1999 00:00
Date: Mon, 12 Apr 1999 00:00
24 lines
1559 bytes
1559 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Er... isn't that just removing the reporting of a
> legitimate error?
Yes. But I just wanted to get rid off the error messages
until I had time to find and fix the problem without re-
compiling then. :-) Lazy hack.
> Why is setrlimit() failing on Linux?
From setrlimit(2):
EPERM A non-superuser tries to use setrlimit() to
increase the soft or hard limit above the current
hard limit, or a superuser tries to increase
RLIMIT_NOFILE above the current kernel maximum.
The innfeed shipped with INN-2.2 does it better than the
older versions (I have only one box left running an older
version and that box is on Solaris), it checks a lot of
things before trying to set or increase something.
Technical Details
Message-ID:
<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-mailReferences:
<7er2ol$qtg$1@news1.guiware.com> <7erghr$a74$1@krell.snafu.de> <ylu2umhcg1.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7esgi4$bu5$1@krell.snafu.de>
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: Bettina Fink <laura@terpen.tin.org>
References: <7er2ol$qtg$1@news1.guiware.com> <7erghr$a74$1@krell.snafu.de> <ylu2umhcg1.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
X-Deja-AN: 465415946
Organization: private
X-URL: http://www.kosovo.de/
User-Agent: tin/pre-1.4-19990329 ("Styrofoam-current") (UNIX) (Linux/2.2.5 (i586))
Newsgroups: news.software.nntp