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

Re: fetchmail: removing stale lockfile



On Mon, May 22, 2000 at 01:55:26PM +0200, Oswald Buddenhagen wrote:
> 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 ...

The strace results come from launching fetchmail from the command line.
AFAICT, only one instance is running.

-- 
Karsten M. Self <kmself@ix.netcom.com>         http://www.netcom.com/~kmself
  What part of "Gestalt" don't you understand?       Debian GNU/Linux rocks!
    http://gestalt-system.sourceforge.net/    Rusty? http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0

Attachment: pgp_DS7unoXlI.pgp
Description: PGP signature


Reply to: