Re: imapd hanging connections?

2003-02-05 Thread Jaldhar H. Vyas
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 [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




imapd hanging connections?

2003-02-04 Thread Robert L. Harris


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?


:wq!
---
Robert L. Harris | PGP Key ID: E344DA3B
 @ x-hkp://pgp.mit.edu 
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




msg28529/pgp0.pgp
Description: PGP signature


Re: imapd hanging connections?

2003-02-04 Thread Hans Wilmer
On Tue, Feb 04, 2003 at 10:07:27AM -0500, 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

better use the imap part of courier

Be aware that courier uses maildir.

 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.

Maybe the number of connections that are allowed from a certain IP
address is limited, or the number of imapd's that can be run
simultaneously is limited. Maybe it helps to reduce the
max. connection time so that connections time out early and not so
many imapd's are running.


GH


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]