🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #3599

Re: Timed out on locking mailbox?

#3599
From: Gary Mills
Date: Mon, 04 Jan 1993 22:27
17 lines
1586 bytes
In <1ia0miINNdov@cae.cad.gatech.edu> vincent@cad.gatech.edu (Vincent Fox) writes:

>In <C0C5Au.G88@ccu.umanitoba.ca> mills@ccu.umanitoba.ca (Gary Mills) writes:
>>I'd recommend not using fcntl locking in elm.  Sun's mail programs,
>>bin/mail, ucb/mail, and mailtool only use flock and file locking.
>>You will avoid many problems with the lock manager this way.  Until
>>Sun starts using fcntl locking, I think we should avoid it too.

>Yes, but flock only appears to work for local systems anyway. Could I
>just disable both flock and lockf and use dot-locking only? Would this
>pose any disadvantage on either the server or it's dataless clients?

To be most compatible, you should use the same locking scheme that
competing mail agents and the mail delivery program, bin/mail, use.
Flock will cause you no trouble, but as you say, it only works locally.
-- 
-Gary Mills-         -Networking Group-          -U of M Computer Services-
Technical Details
Message-ID: <C0Cp1t.M9o@ccu.umanitoba.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!mills
References: <1i5bcfINNmq1@cae.cad.gatech.edu> <1i5ej9INNj4g@dsinc.dsi.com> <rhoward.726024194@matd> <1i7sfrINN3n4@cae.cad.gatech.edu> <C0C5Au.G88@ccu.umanitoba.ca> <1ia0miINNdov@cae.cad.gatech.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm,comp.sys.sun.admin
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!mills
From: mills@ccu.umanitoba.ca (Gary Mills)
Subject: Re: Timed out on locking mailbox?
Message-ID: <C0Cp1t.M9o@ccu.umanitoba.ca>
Sender: news@ccu.umanitoba.ca
Nntp-Posting-Host: altair.cc.umanitoba.ca
Organization: University of Manitoba, Winnipeg, Canada
References: <1i5bcfINNmq1@cae.cad.gatech.edu> <1i5ej9INNj4g@dsinc.dsi.com> <rhoward.726024194@matd> <1i7sfrINN3n4@cae.cad.gatech.edu> <C0C5Au.G88@ccu.umanitoba.ca> <1ia0miINNdov@cae.cad.gatech.edu>
Date: Mon, 4 Jan 1993 22:27:28 GMT
Lines: 17