🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36466

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

#36466
From: Bettina Fink
Date: Mon, 12 Apr 1999 00:00
24 lines
1386 bytes
Mark Walter <mark@guiware.com> wrote:

> My errlog for INN 1.7.2 on RH5.2 is showing the following errors:
>
> /usr/lib/news/bin/startinnfeed: setrlimit(RLIMIT_STACK, RLIM_INFINITY):
> Operation not permitted
> /usr/lib/news/bin/startinnfeed: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY):
> Operation not permitted

I had the same with an self-compilied innfeed on Linux.

Get the innfeed sources, change the RLIMIT_NOFILE section in
startinnfeed.c to:

  setrlimit(RLIMIT_NOFILE, &rl);
#if 0
  if (setrlimit(RLIMIT_NOFILE, &rl) == -1)
    (void)fprintf(stderr, "%s: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY): %s\n",
            *av, strerror (errno));
#endif

Recompile, be happy.

Technical Details
Message-ID: <7erghr$a74$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
References: <7er2ol$qtg$1@news1.guiware.com>

Show Full Headers
Complete Article Headers
Message-ID: <7erghr$a74$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>
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: 465288880
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