πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79713

Re: INN's "news.daily" script.

#79713
From: D. Stussy
Date: Thu, 20 Nov 2008 20:01
55 lines
3067 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gg40jt$j0p$1@news.trigofacile.com...
> > I note that you're using a different version than was released with
2.4.5
> > (a 2.5.0 pre-release?).
>
> Yes.  I always use the lastest CURRENT version (that is to say a
prerelease
> version of INN 2.5.0).
>
> > Between the call to "expire" and this code, there do exist TWO "exit 1"
> > statements.  I believe those can exit with the server still throttled
and
> > or reserved.
>
> You're right.  I have just adjusted the patch to take that into account.
> It is now in CURRENT.
>
> >   ctlinnd -s go "${REASON}"
> >
> > (Do we need the quotes, or does the REASON variable already have them?)
>
> We need the quotes.

Here's why this is needed - last night's maintenance e-mail (snipped).  It
happened again:

"...
Expire messages:
expire begin Thu Nov 20 00:03:28 PST 2008: (-v1 -z/news/log/expire.rm)
    expire: failed to malloc 183556800 bytes at dbz.c line 1282: Cannot
allocate memory
expire end Thu Nov 20 00:03:31 PST 2008
...
Post expiration status:
...
Parameters c 30 i 512 (48) l 262144 o 1011 t 300 H 2 T 60 X 0 normal
specified
Reserved Expiring process 22787
Readers follow enabled
..."

==>  Expire aborted and the server is still reserved!  (Not reserved prior
to expiring).

175MB (17%) of ram isn't a trivial usage, either.  The machine has 1GB
(1,007MB usable by Linux, and 996MB reported by "free -t" for services and
applications).  OK, so I could upgrade the hardware (new motherboard too as
1GB RAM is the max for the existing one), but I also believe that software
should be error tolerant.

Sometimes, it does manage to get the needed memory allocation and runs
normally.

Technical Details
Message-ID: <gg4fnb$re9$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!zen.net.uk!dedekind.zen.co.uk!news.hub.org!news.snarked.org!not-for-mail
References: <gfgkvd$o22$1@snarked.org> <gfi9q3$459$1@snarked.org> <gfu75v$3lg$1@news.trigofacile.com> <gfvoil$8ts$1@snarked.org> <gg0tq5$i67$1@news.trigofacile.com> <gg3ce2$n3c$1@snarked.org> <gg40jt$j0p$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gg4fnb$re9$1@snarked.org>
Subject: Re: INN's "news.daily" script.
Date: Thu, 20 Nov 2008 12:01:44 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <gfgkvd$o22$1@snarked.org> <gfi9q3$459$1@snarked.org> <gfu75v$3lg$1@news.trigofacile.com> <gfvoil$8ts$1@snarked.org> <gg0tq5$i67$1@news.trigofacile.com> <gg3ce2$n3c$1@snarked.org> <gg40jt$j0p$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!zen.net.uk!dedekind.zen.co.uk!news.hub.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 55
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-116-244-151.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1227211307 28105 71.116.244.151 (20 Nov 2008 20:01:47 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Thu, 20 Nov 2008 20:01:47 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478