Re: imapd hanging connections?
On Tue, 4 Feb 2003, Robert L. Harris wrote:
>
>
> On my debian unstable system I have:
> ii uw-imapd 2002b.debian-5 remote mail folder access server
> ii uw-imapd-ssl 2002b.debian-5 Dummy upgrade package for uw-imapd
>
> My wife connects to this via Mozilla from her desktop (win 2000 for
> now). Often she'll click the little X to close the window. When she
> opens a new session it usually won't allow her to connect. A "ps" on my
> mailserver shows multiple imapd's running. When I kill them off she can
> connect just fine.
>
> Not sure how long this has been a problem, she just told me now it's
> been going on for a while.
>
> Any thoughts?
>
Sounds like a locking problem. In the mbox format one folder = one file.
This means if two concurrent imap processes try to access the same folder,
the second gets locked out. The workaround is to use a format like maildir
where one file = one message so locking can be finer-grained.
But the real question is why is mozilla mail not closing the IMAP
connection on exit thus leaving stale imapds around?
--
Jaldhar H. Vyas <jaldhar@debian.org>
La Salle Debain - http://www.braincells.com/debian/
Reply to: