On Mon, Mar 12, 2007 at 08:55:08PM +0200, Timo Sirainen
wrote:> On 12.3.2007, at 16.40, T. Horsnell wrote:
>
> >dovecot 0.99 still (RHEL4), I'm sorry to say.
> >The config is for mbox's to live on the user's home disk.
> >If the user tries to make an imap connection when
> >his home disk is unmounted, various permission denied
> >messages are logged, as expected, but then the imap
> >process seems to hang around instead of aborting.
> >The result is that eventually the imap process
> >limit is reached, and even those users whose home
> >disks are correctly mounted, cant get at their mail.
>
> Check with strace what they are doing? I can't really think of
> anything why they would hang.
>
> http://wiki.dovecot.org/Debugging/ProcessTracing
[root at ls1 ~]$ strace -tt -p 17472
Process 17472 attached - interrupt to quit
21:24:52.847645 futex(0x305392f620, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
21:25:14.933108 --- SIGALRM (Alarm clock) @ 0 (0) ---
21:25:14.933263 alarm(30) = 0
21:25:14.933396 rt_sigreturn(0x1e) = -1 EINTR (Interrupted system call)
21:25:14.933508 futex(0x305392f620, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
21:25:44.937143 --- SIGALRM (Alarm clock) @ 0 (0) ---
21:25:44.937287 alarm(30) = 0
21:25:44.937403 rt_sigreturn(0x1e) = -1 EINTR (Interrupted system call)
21:25:44.937507 futex(0x305392f620, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted
system call)
21:26:14.942092 --- SIGALRM (Alarm clock) @ 0 (0) ---
21:26:14.942244 alarm(30) = 0
21:26:14.942361 rt_sigreturn(0x1e) = -1 EINTR (Interrupted system call)
21:26:14.942469 futex(0x305392f620, FUTEX_WAIT, 2, NULL <unfinished ...>
Process 17472 detached
Hope this is useful..
Terry.
--