🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56526

Re: chan.c problem with INN 2.3.[012] on AIX 4.2

#56526
From: Colin Smith
Date: Fri, 15 Feb 2002 12:51
37 lines
2044 bytes
Russ Allbery <rra@stanford.edu> wrote in message news:<yl7kpfq1x3.fsf@windlord.stanford.edu>...

> It sounds like getfdlimit() is returning something obscenely large for

Yeah, that looks right, further up the log:
-----
Feb 15 11:45:09 informix-old.euro.csg.mot.com Message forwarded from midspe02: i
nnd: SERVER descriptors 2147483647
-----

OK, I see where getfdcount is called.

> some reason, and INN is therefore trying to allocate a huge amount of
> memory for the channel table.  Try setting innflags in inn.conf to
> something like:
> 
>     -o 200
> 
> and see if that helps.

No joy, but from the AIX getrlimit man page...

-----
RLIMIT_NOFILE   This is a number one greater than the maximum value
that the system may assign to a newly-created descriptor. AIX does
not enforce limits on this resource limits on this resource and always
returns RLIM_INFINITY for this limit.
-----

LOL. That'll be the culprit then. :)

On lying to INN and telling it I don't HAVE_RLIMIT, in the config.h, it works.
Thanks for the pointers.

regards,
Colin Smith
Technical Details
Message-ID: <fa8727e8.0202150451.1c6bae07@posting.google.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!postnews1.google.com!not-for-mail
References: <fa8727e8.0202141109.7875ddc@posting.google.com> <yl7kpfq1x3.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <fa8727e8.0202150451.1c6bae07@posting.google.com>
Subject: Re: chan.c problem with INN 2.3.[012] on AIX 4.2
Date: Fri, 15 Feb 2002 12:51:59 +0000
From: Colin.Smith@motorola.com (Colin Smith)
References: <fa8727e8.0202141109.7875ddc@posting.google.com> <yl7kpfq1x3.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!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 36
NNTP-Posting-Host: 62.172.156.90
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1013777520 14722 127.0.0.1 (15 Feb 2002 12:52:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Feb 2002 12:52:00 GMT