🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89473

Re: Inject articles

#89473
From: Jesse Rehmer
Date: Mon, 27 Jun 2022 18:35
26 lines
2399 bytes
Another tip, pulling lots of articles over a single connection, regardless how
fast the upstream server, is very slow. The nice thing about pullnews is that
it only uses one config file, and you can create many configuration files and
have multiple pullnews instances running at the same time.

What I did was create many pullnewsXX.marks files that initially contained the
first line (server user password), got a list of groups to copy/paste (example
below prints all comp.* groups from the db/active file separated by commas):

grep -E '^comp\.' db/active | sort | awk '{printf "%s%s",(NR>1?",":""),$1}
END{print ""}'

Then took chunks of groups at a time and ran pullnews inside a screen, doing
up to 30 at a time with something like this:

screen -S comp1 "pullnews -c pullnews01.marks -F fakepathname -G
comp.admin.policy,comp.ai,comp.ai.alife,comp.ai.doc-analysis.misc,comp.ai.doc
-analysis.ocr"

screen -S comp2 "pullnews -c pullnews02.marks -F fakepathname -G
comp.ai.edu,comp.ai.fuzzy,comp.ai.games,comp.ai.genetic,comp.ai.nat-lang,comp
.ai.neural-nets,comp.ai.philosophy,comp.ai.shells,comp.ai.vision"

Happy slurping :)

-Jesse
Technical Details
Message-ID: <5495600633.2968cbfa@freebsd-inject1.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
References: <20220626032938.1b0d0e13@wibble.sysadmininc.com> <t99h8f$nsif$1@news.trigofacile.com> <20220627003452.058eadcf@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <5495600633.2968cbfa@freebsd-inject1.usenet.blueworldhosting.com>
Subject: Re: Inject articles
Date: Mon, 27 Jun 2022 18:35:56 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <20220626032938.1b0d0e13@wibble.sysadmininc.com> <t99h8f$nsif$1@news.trigofacile.com> <20220627003452.058eadcf@wibble.sysadmininc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Jun 2022 18:35:56 -0000 (UTC)
Injection-Info: spool1.usenet.blueworldhosting.com; logging-data="42246"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:SnF1Yn8SWW2hznGsTDsvlju4heQ= sha256:c/zC/PRZYAjKs6xSXyzI97A+Xx/aoM4gNs7cz+Cz/60= sha1:EvW/9M0QroDO8QmbYT7Oe4VUK+Y= sha256:yinR+YA0gV3LI+n2pPfrxGzcQGMDmMBD7bz5CMmNv6w=
X-Usenapp: v1.21.1/d - Full License
Lines: 25