Hi everyone,

 

We're working on a script to fetch mail from an IMAP server and put it
into a web-based ticketing system. The script should be run from one of
our five Linux web servers in our fail-over pool. The script should
still run even if one server is down. A late run of 2-3 times the
frequency is acceptable.

 

I'm thinking of using a file lock (i.e. flock) in AFS to determine who
fetches the email, but I need to know about the failure scenarios. Does
the lock persist if the machine freezes or dies? Will an orphaned lock
expire, and if so, how long does it take to expire?

 

Any other suggestions are welcome.

 

Sincerely,

Jason

 

------------------------------------------------------------------------
---

Jason Edgecombe | Linux and Solaris Administrator

UNC Charlotte | The William States Lee College of Engineering

9201 University City Blvd. | Charlotte, NC 28223-0001

[email protected] <mailto:[email protected]>  | http://coe.uncc.edu
<http://coe.uncc.edu/>  |   <https://www.facebook.com/UNCCEngr>  
Facebook <https://www.facebook.com/UNCCEngr> 

------------------------------------------------------------------------
---

If you are not the intended recipient of this transmission or a person
responsible for delivering it to the intended recipient, any disclosure,
copying, distribution, or other use of any of the information in this
transmission is strictly prohibited. If you have received this
transmission in error, please notify me immediately by reply e-mail or
by telephone at 704-687-3514.  Thank you.

 

<<image001.gif>>

Reply via email to