[Dovecot] Slow caching
I have just installed dovecot on a RedHat Enterprise 4 clone with exim MTA, procmail LDA and mbox format. I'm getting complaints of slow caching from a Mac user:
I think there's still something very sick with [host]'s IMAP
server: it just took a full five minutes to cache an attachment
(350kb)
in an email from [person]. In that time, I couldn't do anything
else with
mail; it was essentially locked.
The user's inbox is in /var/spool/mail (where there are no idexes), there areindex files within his home directory:
./.imap/INBOX: total 1160 -rw------- 1 xyz users 60656 May 30 14:22 dovecot.index -rw------- 1 xyz users 891904 May 30 14:22 dovecot.index.cache -rw------- 1 xyz users 78428 May 30 14:22 dovecot.index.log -rw------- 1 xyz users 131920 May 26 11:29 dovecot.index.log.2
Everything is on local disk, there are no NFS mounts at all. Any thoughts?
Thanks
John
John Rowe wrote:
I have just installed dovecot on a RedHat Enterprise 4 clone with exim MTA, procmail LDA and mbox format. I'm getting complaints of slow caching from a Mac user:
Two questions: which version of Dovecot? and which mail client?
The first is probably the most important.
-- Curtis Maloney cmaloney@cardgate.net
There's always something you forget!
It's the latest version of dovecot, 1.0 beta8. It's the standard MacOS 10.2 mail client.
Thanks
John
On Tue, 2006-05-30 at 15:53 +0100, John Rowe wrote:
I have just installed dovecot on a RedHat Enterprise 4 clone with exim MTA, procmail LDA and mbox format. I'm getting complaints of slow caching from a Mac user:
I think there's still something very sick with [host]'s IMAP server: it just took a full five minutes to cache an attachment (350kb) in an email from [person]. In that time, I couldn't do anything else with mail; it was essentially locked.
That could mean pretty much anything. Probably the best way to debug this would be to see what actually happens in the process. After the user has logged in, run:
strace -tt -p pid-of-the-imap-process 2>log
If it shows that most of the time is spent in poll(), then it means the problem is in client side, network or something else anyway than Dovecot. And I suspect this is the case. :)
participants (3)
-
Curtis Maloney
-
John Rowe
-
Timo Sirainen