Great Circle Associates Majordomo-Workers
(July 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Zero byte user lists
From: Brock Rozen <brozen @ netvoyage . net>
Date: Mon, 8 Jul 1996 20:57:13 -0700 (PDT)
To: Majordomo Workers List <majordomo-workers @ greatcircle . com>
Reply-to: brozen @ netvoyage . net

Can we please get the following patch added to alpha 8? It was posted to
users.

-----
From: Chris Ho <hocy@icg.resnet.upenn.edu>

Anyway, I've noticed that on heavily loaded systems, sometimes an 
uns.ubscribe will truncate a list down to 0 bytes. I've tracked this bug 
down to an error in the uns.ubscribe routine. Right now, the fix is
putting a check that the prints were successful 

print NEW  $_ || &abort("blablabla");

and also before the original list is deleted:

if ($match_count == 1 && -s NEW) {

Anyone know of a better way to fix this, preferably a way to have 
sendmail requeue the remove request for a retry?

-----

Thanks


 ------------------------------------------------------------------------- 
 | Brock Rozen | brozen@netvoyage.net | http://www.netvoyage.net/~brozen | 
 ------------------------------------------------------------------------- 



Follow-Ups:
Indexed By Date Previous: Auto Administrative Messages
From: Brock Rozen <brozen@netvoyage.net>
Next: Re: Auto Administrative Messages
From: "James B. Byrne" <byrnejb@harte-lyne.ca>
Indexed By Thread Previous: Auto Administrative Messages
From: Brock Rozen <brozen@netvoyage.net>
Next: Re: Zero byte user lists
From: Paul Close <pdc@cabernet.virtualvin.com>

Google
 
Search Internet Search www.greatcircle.com