[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail: removing stale lockfile



On Mon, 22 May 2000 kmself@ix.netcom.com wrote:

> I'm getting the message:
> 
>     fetchmail: removing stale lockfile
> 
> ...every time I run fetchmail (5.3.4-1) on my system.  I just checked
> and I'm running the most current version.
> 
> Running strace, I find the following:
> 
>     open("/home/karsten/.fetchmail.pid", O_RDONLY) = 3
>     [...]
>     unlink("/home/karsten/.fetchmail.pid")  = -1 ENOENT (No such file or
> 
> Naturally, ~/.fetchmail.pid does not exist.
> 
as you can see from the above two lines i cut out, the file seems to
disappear while it is read ...
this typically would indicate some race condition.
is it possible, that there are two instances of fetchmail started by the
cron job at nearly the same time?

i have no other idea ...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!



Reply to: