>>>>> "DB" == Dave Barr <barr@math.psu.edu> writes:
DB> I agree a simple random 1-10 sleep is not sufficient. Even on a few
DB> rapid bogus unsubscribes I get warnings from Majordomo on not finding
DB> L.Log -- apparently a race condition? (or mabye shlock is warning on a
DB> no-problem condition?)
I recently sent a message ("Majordomo torture tactics" or somesuch)
detailing what happened when I ran the following:
#!/usr/local/bin/perl5 -w
foreach $i (1..100) {
system("echo \"subscribe test-list testaddr$i\@host.dom\" | mail majordomo");
}
sleep 60;
foreach $i (4..100) {
system("echo \"unsubscribe test-list testaddr$i\@host.dom\" | mail majordomo");
}
The gist was that I always get a few warnings for the first couple of
subscribes, until the random locking spaces the retries out a bit. I don't
understand the locking code enough to figure out just why it's happening.
the exact warning is:
shlock: open("/usr/local/lists/lists/L.test-list"): No such file or directory
- J<
References:
|
|