🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #250

Re: Poetry group not working?

#250
From: Retro Guy Retro Guy
Date: Sun, 07 Jun 2020 11:37
15 lines
2107 bytes
For anyone interested in the technical reason for the problem, here it is:

I use lock files for scripts so some processes don't step on each other. For example, I don't want to start pulling articles for a group if I'm still pulling articles for that group as that would mess up the watermark file.

So I used the same lockfile name for locally posting articles as pulling articles, but the process id set in that lockfile ended up being the PID of the nntp server. I uploaded to the server the change, and ran it. It all worked well until someone posted, then it got stuck as the PID of the nntp server continued running and no posts would go out.

Fortunately, posts are held for sending, so once I saw the problem and fixed it, the posts all went out and were not lost.

I'll check back tomorrow to hopefully see it is still working fine. If not, I'm off work Monday and should be able to resolve any issue.

Retro Guy

-- 
Posted on: Rocksolid Light
news.novabbs.com
Technical Details
Message-ID: <f1da2fc7b1632c5a2abc450cba8f39e1$1@news.novabbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
References: <e47c0d8bd8aa49e87b208ad7a19a2fdc$1@www.novabbs.com> <5ad5777e5806619c8d77cd905be7bd12$1@www.novabbs.com> <e201cf17009b97e21ba717b0a7335686$1@www.novabbs.com>

Show Full Headers
Complete Article Headers
Message-ID: <f1da2fc7b1632c5a2abc450cba8f39e1$1@news.novabbs.com>
Subject: Re: Poetry group not working?
Date: Sun, 07 Jun 2020 11:37:00 +0000
From: Retro Guy@rslight.i2p (Retro Guy)
References: <e47c0d8bd8aa49e87b208ad7a19a2fdc$1@www.novabbs.com> <5ad5777e5806619c8d77cd905be7bd12$1@www.novabbs.com> <e201cf17009b97e21ba717b0a7335686$1@www.novabbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
 logging-data="32122"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$5CLgs0Oiu.pr/qe.rWLan.qQjwmKip5dqXEPOQqk5AfQJh5KBOtS2