On 04/09/2014 12:59, Sam Varshavchik wrote:
 > Jakob Bohm writes:
 >
 >> « HTML content follows »
 >>
 >> On 03/09/2014 14:44, Sam Varshavchik wrote:
 >>> Jakob Bohm writes:
 >>>
 >>>> The hang seems to occur between the time when authdaemond logs 
that the
 >>>>
 >>>> user was Authenticated and when imapd usually logs that same event.
 >>>
 >>> Random guess: NFS, problem automounting the user's home directory?
 >> Local filesystem, I have heard enough horror stories not to mount the
 >> home dirs
 >> dynamically and/or over NFS.
 >>
 >> Oh, and
 >> # /etc/init.d/courier-imap-ssl restart
 >> gets it back up for a short while
 >
 > Only strace+friends can probably figure this out.
 >
 > You should be able to find a stuck imapd process, or two, and use
 > strace to figure out what it's doing.
Finding the stuck imapd out of all the other ones would have been
the hard part, but see below.
 >
 > A couple of things happen immediately after authentication, that are
 > frequent causes of problems.
 >
 > - gamin/fam initialization
 >
Seems to have been gamin.  I kept getting warnings about gamin
timeouts at other times than the failures, so I switched to fam,
just in case.  That seemed to make the problem go away.

 > - if there's a loginexec link in the maildir, it gets executed, and
 > the imap server waits until it finishes.
There isn't on this server.
 >
 > Other than that, the next thing that happens is the response to the
 > original IMAP command gets sent. Whatever goes wrong, must happen
 > before that, and these two are the most likely suspects.
 >
Thanks!  And thanks for mentioning the other possibility,
it might help some other admin in the same situation.

Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to