[Dovecot] Upgrade from 2.1.13 to 2.1.14 and load doubled
Hi,
during the weekend I upgrade my mail servers from dovecot 2.1.13 to dovecot 2.1.14 (and rebuild dovecot-2.1-pigeonhole-0.3.3).
After upgrade all works fine, but today the load avarage un MXs is doubled.
Mailboxes are in Maildir/ on NFS and I'm using dovecot as LDA and dict quota only for quota usage.
May be a problem with the new version?
This is my configuration:
$ ./configure --prefix=/usr/local/dovecot-2.1 --with-vpopmail --with-mysql --with-bzlib --with-zlib
# cat /usr/local/dovecot-2.1/etc/dovecot/sieve/default.sieve require ["vnd.dovecot.duplicate", "fileinto", "mailbox"]; if header :contains "X-Spam-Status" "Yes" { fileinto "Spam"; }
if header :contains "Subject" "TEST 123" { fileinto "Spam"; }
if duplicate { fileinto "Trash"; }
#####################
# 2.1.14: /usr/local/dovecot-2.1/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6 auth_cache_size = 512 k auth_worker_max_count = 60 default_login_user = nobody dict { acl = mysql:/usr/local/dovecot-2.1/etc/dovecot/dovecot-share-folder.conf expire = mysql:/usr/local/dovecot-2.1/etc/dovecot/dovecot-dict-sql.conf.ext quota = mysql:/usr/local/dovecot-2.1/etc/dovecot/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no dotlock_use_excl = no first_valid_gid = 89 first_valid_uid = 89 last_valid_gid = 89 last_valid_uid = 89 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes log_path = /var/log/dovecot/dovecot.log mail_fsync = always mail_location = maildir:~/Maildir mail_nfs_index = yes mail_nfs_storage = yes mail_plugins = quota acl zlib expire maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave vnd.dovecot.duplicate mmap_disable = yes namespace { list = children location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u prefix = shared/%%n/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { auto = subscribe special_use = \Trash } prefix = separator = / } passdb { args = cache_key=%s%u webmail=192.168.113.215 driver = vpopmail } plugin { acl = vfile:/usr/local/dovecot-2.1/etc/dovecot/global-acls:cache_secs=300 acl_shared_dict = proxy::acl expire = Trash expire2 = Spam expire_dict = proxy::expire quota = maildir:UserQuota quota2 = dict:User quota::noenforcing:proxy::quota quota_rule2 = Trash:storage=+100M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = ~/.dovecot.sieve sieve_default = /usr/local/dovecot-2.1/etc/dovecot/sieve/default.sieve sieve_dir = ~/sieve sieve_extensions = +vnd.dovecot.duplicate } protocols = imap pop3 sieve service auth { unix_listener auth-userdb { group = vchkpw mode = 0660 user = vpopmail } } service dict { unix_listener dict { group = vchkpw mode = 0660 user = vpopmail } } service imap-login { service_count = 0 } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { service_count = 0 } service quota-warning { executable = script /usr/local/dovecot-2.1/etc/dovecot/scripts/quota-warning.sh unix_listener quota-warning { user = vpopmail } user = vpopmail } ssl_cert =
Thanks
Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
Il 04/02/2013 10:15, Alessio Cecchi ha scritto:
Hi,
during the weekend I upgrade my mail servers from dovecot 2.1.13 to dovecot 2.1.14 (and rebuild dovecot-2.1-pigeonhole-0.3.3).
Moreover, in the log file I found these errors never seen before:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
What do they mean?
-- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
On 4.2.2013, at 15.28, Alessio Cecchi alessio@skye.it wrote:
Il 04/02/2013 10:15, Alessio Cecchi ha scritto:
Hi,
during the weekend I upgrade my mail servers from dovecot 2.1.13 to dovecot 2.1.14 (and rebuild dovecot-2.1-pigeonhole-0.3.3).
Moreover, in the log file I found these errors never seen before:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
Well .. Those errors should go away if you revert this patch:
http://hg.dovecot.org/dovecot-2.1/raw-rev/2b76d357a56a
But does it fix the performance? ..
On Mon, 2013-02-04 at 15:58 +0200, Timo Sirainen wrote:
On 4.2.2013, at 15.28, Alessio Cecchi alessio@skye.it wrote:
Il 04/02/2013 10:15, Alessio Cecchi ha scritto:
Hi,
during the weekend I upgrade my mail servers from dovecot 2.1.13 to dovecot 2.1.14 (and rebuild dovecot-2.1-pigeonhole-0.3.3).
Moreover, in the log file I found these errors never seen before:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
Well .. Those errors should go away if you revert this patch:
http://hg.dovecot.org/dovecot-2.1/raw-rev/2b76d357a56a
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Il 04/02/2013 16:07, Timo Sirainen ha scritto:
On Mon, 2013-02-04 at 15:58 +0200, Timo Sirainen wrote:
On 4.2.2013, at 15.28, Alessio Cecchi alessio@skye.it wrote:
Il 04/02/2013 10:15, Alessio Cecchi ha scritto:
Hi,
during the weekend I upgrade my mail servers from dovecot 2.1.13 to dovecot 2.1.14 (and rebuild dovecot-2.1-pigeonhole-0.3.3).
Moreover, in the log file I found these errors never seen before:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
Well .. Those errors should go away if you revert this patch:
http://hg.dovecot.org/dovecot-2.1/raw-rev/2b76d357a56a
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Thanks Timo,
tonight I will apply the second patch to 2.1.14 for the performance problem.
Should I also remove the path "2b76d357a56a" or is only optional/for test?
-- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
On 4.2.2013, at 17.38, Alessio Cecchi alessio@skye.it wrote:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
Well .. Those errors should go away if you revert this patch:
http://hg.dovecot.org/dovecot-2.1/raw-rev/2b76d357a56a
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Thanks Timo,
tonight I will apply the second patch to 2.1.14 for the performance problem.
Should I also remove the path "2b76d357a56a" or is only optional/for test?
Removing it removes those errors from logs, but other than that it shouldn't make any difference. Instead of removing you could also apply these patches that should remove them more correctly:
http://hg.dovecot.org/dovecot-2.1/rev/93633121bc9d http://hg.dovecot.org/dovecot-2.1/rev/b15a98fd8e15
On Mon, 4 Feb 2013 17:44:07 +0200 Timo Sirainen articulated:
[snip
Removing it removes those errors from logs, but other than that it shouldn't make any difference. Instead of removing you could also apply these patches that should remove them more correctly:
http://hg.dovecot.org/dovecot-2.1/rev/93633121bc9d http://hg.dovecot.org/dovecot-2.1/rev/b15a98fd8e15
Looks like you are going to have to release version 2.1.15 in the very near future.
-- Jerry ♔
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
On 4.2.2013, at 18.01, Jerry jerry@seibercom.net wrote:
On Mon, 4 Feb 2013 17:44:07 +0200 Timo Sirainen articulated:
[snip
Removing it removes those errors from logs, but other than that it shouldn't make any difference. Instead of removing you could also apply these patches that should remove them more correctly:
http://hg.dovecot.org/dovecot-2.1/rev/93633121bc9d http://hg.dovecot.org/dovecot-2.1/rev/b15a98fd8e15
Looks like you are going to have to release version 2.1.15 in the very near future.
Yeah. :(
Would be nice if people tested those new patches, so I don't have to put out 2.1.16 soon also.
On Mon, 4 Feb 2013 18:05:01 +0200 Timo Sirainen articulated:
On 4.2.2013, at 18.01, Jerry jerry@seibercom.net wrote:
On Mon, 4 Feb 2013 17:44:07 +0200 Timo Sirainen articulated:
[snip
Removing it removes those errors from logs, but other than that it shouldn't make any difference. Instead of removing you could also apply these patches that should remove them more correctly:
http://hg.dovecot.org/dovecot-2.1/rev/93633121bc9d http://hg.dovecot.org/dovecot-2.1/rev/b15a98fd8e15
Looks like you are going to have to release version 2.1.15 in the very near future.
Yeah. :(
Would be nice if people tested those new patches, so I don't have to put out 2.1.16 soon also.
I think that most people, myself included, are hesitant about applying patches to systems that are all ready up and running satisfactory. As you will no doubt concur, there is nothing worse that updating or applying a patch to a critical application and then discovering it is now broken.
Perhaps, and this is just my 2¢ on the matter, you could form a small group of BETA testers. I have no idea if that would work out for you or not. In any event, Dovecot rarely has a serious BUG problem. Just those pesky "nits & gnats" that have to be tended to occasionally.
-- Jerry ♔
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
Il 04/02/2013 16:44, Timo Sirainen ha scritto:
On 4.2.2013, at 17.38, Alessio Cecchi alessio@skye.it wrote:
Feb 04 14:03:56 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx@yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz@cccc.it): Error: read() failed: No such file or directory
Well .. Those errors should go away if you revert this patch:
http://hg.dovecot.org/dovecot-2.1/raw-rev/2b76d357a56a
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Thanks Timo,
tonight I will apply the second patch to 2.1.14 for the performance problem.
Should I also remove the path "2b76d357a56a" or is only optional/for test?
Removing it removes those errors from logs, but other than that it shouldn't make any difference. Instead of removing you could also apply these patches that should remove them more correctly:
http://hg.dovecot.org/dovecot-2.1/rev/93633121bc9d http://hg.dovecot.org/dovecot-2.1/rev/b15a98fd8e15
Also after the application of these patches the situation of the load is the same.
If there are no other solutions I will return to 2.1.13 ASAP.
Thanks
Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
On 5.2.2013, at 11.07, Alessio Cecchi alessio@skye.it wrote:
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Also after the application of these patches the situation of the load is the same.
If there are no other solutions I will return to 2.1.13 ASAP.
You definitely included the above patch? That's the important one. And it really should have fixed the performance problems..
Il 05/02/2013 16:46, Timo Sirainen ha scritto:
On 5.2.2013, at 11.07, Alessio Cecchi alessio@skye.it wrote:
But does it fix the performance? ..
No, but this should: http://hg.dovecot.org/dovecot-2.1/rev/443ff272317f
Also after the application of these patches the situation of the load is the same.
If there are no other solutions I will return to 2.1.13 ASAP.
You definitely included the above patch? That's the important one. And it really should have fixed the performance problems..
Sure Timo, during in the afternoon the situations seems better, wait a few days for tests.
Thanks
Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
participants (3)
-
Alessio Cecchi
-
Jerry
-
Timo Sirainen