On Wed, Apr 12, 2006 at 06:14:53PM +0200, Bernd Schindler wrote:
> I have a strange problem with my courier IMAP 3.0.8 on Debian "etch". 
> When I try to examine/select INBOX (or any other subfolder) it takes 
> several (up to 15) minutes for the command to complete. I tested it on 
> an newly created Maildir which was completely emty and the problem was 
> the same. POP3 works fine so I think, that my maildirs are OK. I also 
> tried IMAP 4.1.0 from Debian "experimental" and it also was the same 
> problem.
> 
> Can anybody help me with my problem or even tell me how I can debug my 
> imapd?

- locate the imapd process serving your connection (using ps, netstat etc)
- attach a strace to it:

# strace -f -p <pid>

- see what system calls it is making
- post that information here

If you can replicate this problem using telnet to port 143, and manually
issuing the examine/select, then it will be easier to debug: you can attach
the strace process after logging in but before issuing the examine/select,
so you'll see the whole set of operations.

I suspect that either it's hanging on some I/O operation, or else it's
livelocking for some reason (doing the same thing over and over again), but
without the strace information I can't think why it would be doing so.

When you say "POP3 works fine" is that using courier's pop3d, or something
else (e.g. qmail pop3d)?

HTH,

Brian.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to