🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by News Administrator Wed, 22 May 1996 00:00
Slurp Q: Locking?
#7875
Author: News Administrator
Date: Wed, 22 May 1996 00:00
28 lines
1532 bytes
Hello,

I'm about to run slurp 1.10 off cron pretty often. I was
a bit concerned to find out that slurp does not lock in
any way; so that if, for example, I do "slurp server-a"
every 15 minutes, I might end up with two parallel instances
of slurp running alongside.

Why is this bad? It seems that the slurp.<hostname> file will
be damaged in such a case. Note that this file is bring written
with date/time for next pull (in good weather), or with the
same plus a long list of unprocessed messageids (in case the
connection breaks prematurely). Two instances of slurp,
I feel, will corrupt this file and ensure lost data.

What am I missing? Am I completely off base here? If not,
I will probably have to hack a small script as an envelope
for slurp, something that will probably use shlock or something.

Thanks in advance!
--
Doron Shikmoni (Israeli Newsmaster)		E-Mail: P85025@vm.biu.ac.il
Mgr., Communications and Networking		Tel:	+972-3-5318783
Bar-Ilan University				Fax:	+972-3-5344446
Israel

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads