[Dovecot] speed up dovecot IMAP server
Hello,
I upgraded my dovecot server (1.2 -> 2.1), from debian backport because it was a little slow (wait 5-6 sec) when I opened some mail (but not every mail). Unfortunately, the mail open speed didn't increase. I think it's an index problem. Have you idea for fixing?
My conf:
http://pastebin.com/FNLusi51 [1]
(HP Microserver with 6 Gbyte RAM - entry level server with small load and small (max. 40) concurrent connection)
Best regards, Gabor
Links:
On 1/14/2013 4:36 AM, Bernics Gábor | Penta Unió Zrt. wrote:
I upgraded my dovecot server (1.2 -> 2.1), from debian backport because it was a little slow (wait 5-6 sec) when I opened some mail (but not every mail). Unfortunately, the mail open speed didn't increase. I think it's an index problem. Have you idea for fixing?
You have provided insufficient detail to troubleshoot a performance problem of this nature. Do note the latency could very well be an issue with Kmail and not Dovecot.
Did you performed any troubleshooting, any investigation, of your own, before upgrading to 2.1.7?
-- Stan
Hello stan
"Did you performed any troubleshooting, any investigation, of your own, before upgrading to 2.1.7?"
Yes, I try this:
http://wiki.dovecot.org/PerformanceTuning
If fsync disabled speed up a litle, but it's not secure permanently.
"Do note the latency could very well be an issue with Kmail and not Dovecot."
Kmail?
I use Roundcube and Thunderbird.
Typical load: < 0.5
Memory usage: 1.2 Gbyte of 6 Gbyte (Can I increase cache memory size for Dovecot?)
IOtop Disk read: < 1.200 k/sec
Gabor
2013-01-14 20:00 időpontban Stan Hoeppner ezt írta:
On 1/14/2013 4:36 AM, Bernics Gábor | Penta Unió Zrt. wrote:
I upgraded my dovecot server (1.2 -> 2.1), from debian backport because it was a little slow (wait 5-6 sec) when I opened some mail (but not every mail). Unfortunately, the mail open speed didn't increase. I think it's an index problem. Have you idea for fixing?
You have provided insufficient detail to troubleshoot a performance problem of this nature. Do note the latency could very well be an issue with Kmail and not Dovecot.
Did you performed any troubleshooting, any investigation, of your own, before upgrading to 2.1.7?
On 1/23/2013 2:59 AM, Bernics Gábor | Penta Unió Zrt. wrote:
I use Roundcube and Thunderbird.
Do both clients experience the 5-6 second delay?
Memory usage: 1.2 Gbyte of 6 Gbyte (Can I increase cache memory size for Dovecot?)
No, but you should change to:
mmap_disable=no
and add:
maildir_very_dirty_syncs=yes
which should help a bit. You're already indexing with lmtp and using sieve, so your indexes 'should' be current.
However, you said the delay is in opening individual messages, not siimply listing them, which doesn't involve the indexes, but the message files. If this happens with Tbird but not RC it may be a duplex mismatch or other network issue. If it happens with both then there's something else going on, maybe with Dovecot, maybe with Linux, maybe with the disk or disk controller.
Do you have any errors in your Dovecot log files? How about disk related errors in dmesg? Tbird activity manager?
You're not giving us enough information upon which to troubleshoot.
-- Stan
No, sorry it's RC bug/problem.
Open messages with TB immediately.
I will tune up my RC installation.
Thanks a lot
Best regards,
Gabor
2013-01-23 12:01 időpontban Stan Hoeppner ezt írta:
On 1/23/2013 2:59 AM, Bernics Gábor | Penta Unió Zrt. wrote:
I use Roundcube and Thunderbird.
Do both clients experience the 5-6 second delay?
Memory usage: 1.2 Gbyte of 6 Gbyte (Can I increase cache memory size for Dovecot?)
No, but you should change to:
mmap_disable=no
and add:
maildir_very_dirty_syncs=yes
which should help a bit. You're already indexing with lmtp and using sieve, so your indexes 'should' be current.
However, you said the delay is in opening individual messages, not siimply listing them, which doesn't involve the indexes, but the message files. If this happens with Tbird but not RC it may be a duplex mismatch or other network issue. If it happens with both then there's something else going on, maybe with Dovecot, maybe with Linux, maybe with the disk or disk controller.
Do you have any errors in your Dovecot log files? How about disk related errors in dmesg? Tbird activity manager?
You're not giving us enough information upon which to troubleshoot.
--
participants (2)
-
Bernics Gábor | Penta Unió Zrt.
-
Stan Hoeppner