🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2038

Re: slow processing of backlogged news

#2038
From: Mark Silbernagel
Date: Mon, 12 Jul 1993 18:38
33 lines
2300 bytes
In article <CA0CDt.623@blilly.uucp> Bruce Lilly, bruce@blilly.uucp writes:
> In article <C9wr4C.EvJ@jabba.ess.harris.com>,
>  posted to newsgroups
news.software.b,news.software.nntp,news.admin.misc,
>  rwaters@jabba.ess.harris.com wrote:
> >
> >  And, I replaced the 'ls | sort' with a
> >'ls -f | sort' so the list of files doesn't get sorted twice.  All of
> 
> Note that some versions of ls (e.g. the GNU version) don't
> support -f.  If there are no other flags, you ought to be able
> to use ls -a.

I had exactly the same problem shortly after installing CNEWS and NNTP.

Turning batching on, as suggested earlier, helped a lot. The other
significant
delay was the 'ls' command, which I replaced with find. You might use a
find|sort to get the job done once... If you stick it into a variable it
could 
overflow with the number of articles you're seeing. Perhaps either a file,
which would require extensive tweaking, or use "sed '50q' to just pick the
first 50 or so. 

Before the changes, just executing that 'ls' was taking more than 45
seconds for each few articles...

Mark Silbernagel                |
Mentor Graphics Corporation     | ...You guys make entropy look
8005 S.W. Boeckman Road         |    real good -- Pete Kapustynski
Wilsonville, OR  97070-7777     |
(503) 685-4738                  |    mark_silbernagel@mentorg.com
Technical Details
Message-ID: <1993Jul12.183816.15070@news.mentorg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!news.mentorg.com!news
References: <C9wr4C.EvJ@jabba.ess.harris.com> <CA0CDt.623@blilly.uucp>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jul12.183816.15070@news.mentorg.com>
Subject: Re: slow processing of backlogged news
Date: Mon, 12 Jul 1993 18:38:16 GMT
From: Mark Silbernagel <mark_silbernagel@mentorg.com>
References: <C9wr4C.EvJ@jabba.ess.harris.com> <CA0CDt.623@blilly.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!news.mentorg.com!news
Newsgroups: news.software.b,news.software.nntp,news.admin.misc
Sender: news@news.mentorg.com (News User)
X-Useragent: Nuntius v1.1.1d27
X-Xxdate: Mon, 12 Jul 93 18:29:02 GMT
Nntp-Posting-Host: mgcapms.mentorg.com
Organization: Mentor Graphics Corporation
Lines: 32