Great Circle Associates Majordomo-Workers
(November 1996)
 

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

Subject: Re: Majordomo v1.94: problem with shlock.pl
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 27 Nov 1996 12:40:13 -0600 (CST)
To: cwilson @ slurp . neu . sgi . com (Chan Wilson)
Cc: mikhail @ klm . com, majordomo-workers @ greatcircle . com
In-reply-to: <199611271808.TAA08761@slurp.neu.sgi.com> from "Chan Wilson" at Nov 27, 96 07:08:36 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Chan Wilson writes: ]
> 
> > > > The following lines in shlock.pl is trouble:
> > > > 
> > > > open($FH_name, ">> $filename") ||
> > > >     &warn("open of temp file $filename failed\n $!");
> 
> > > There's a fix for this in the 1.94.1 test patch I posted several days
> 
> > There is? I don't see anything in 1.94.1 that effects that.
> 
> Mmm, in shlock.pl, I changed the warn to call abort, which exits
> cleanly and won't loop.

Oh, <blush> I see it now. I'm still not convinced it's appropriate to
bail out at that low level, but I haven't had time to study the problem
yet. If any of those checks (that call &warn when they fail) could occur
because of lock contention, then bailing from &warn will cause random,
mysterious failures.

-- 
 Dave Wolfe


References:
Indexed By Date Previous: Re: config-test
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: config-test patch
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: Majordomo v1.94: problem with shlock.pl
From: Chan Wilson <cwilson@slurp.neu.sgi.com>
Next: Re: Majordomo v1.94: problem with shlock.pl
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com