Alessio Cecchi
2013-Feb-04 09:15 UTC
[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 = </etc/ssl/certs/wildcard.pem
ssl_key = </etc/ssl/private/wildcard.key
submission_host = localhost
userdb {
args = quota_template=quota_rule=*:backend=%q
driver = vpopmail
}
protocol lda {
log_path = /var/log/dovecot/lda.log
mail_plugins = quota acl zlib expire sieve
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
tb-lsub-flags
imap_idle_notify_interval = 29 mins
mail_max_userip_connections = 18
mail_plugins = quota acl zlib expire imap_quota imap_acl
}
protocol sieve {
mail_max_userip_connections = 10
}
protocol pop3 {
mail_max_userip_connections = 5
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
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
Alessio Cecchi
2013-Feb-04 13:28 UTC
[Dovecot] Upgrade from 2.1.13 to 2.1.14 and load doubled
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 at yyyy.com): Error: read() failed: No such file or directory Feb 04 14:06:55 imap(xxxx at yyyy.com): Error: read() failed: No such file or directory Feb 04 14:09:09 imap(zzz at 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
Timo Sirainen
2013-Feb-04 13:58 UTC
[Dovecot] Upgrade from 2.1.13 to 2.1.14 and load doubled
On 4.2.2013, at 15.28, Alessio Cecchi <alessio at 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 at yyyy.com): Error: read() failed: No such file or directory > Feb 04 14:06:55 imap(xxxx at yyyy.com): Error: read() failed: No such file or directory > Feb 04 14:09:09 imap(zzz at cccc.it): Error: read() failed: No such file or directoryWell .. 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? ..
Timo Sirainen
2013-Feb-04 15:07 UTC
[Dovecot] Upgrade from 2.1.13 to 2.1.14 and load doubled
On Mon, 2013-02-04 at 15:58 +0200, Timo Sirainen wrote:> On 4.2.2013, at 15.28, Alessio Cecchi <alessio at 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 at yyyy.com): Error: read() failed: No such file or directory > > Feb 04 14:06:55 imap(xxxx at yyyy.com): Error: read() failed: No such file or directory > > Feb 04 14:09:09 imap(zzz at 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
Alessio Cecchi
2013-Feb-04 15:38 UTC
[Dovecot] Upgrade from 2.1.13 to 2.1.14 and load doubled
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 at 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 at yyyy.com): Error: read() failed: No such file or directory >>> Feb 04 14:06:55 imap(xxxx at yyyy.com): Error: read() failed: No such file or directory >>> Feb 04 14:09:09 imap(zzz at 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
Apparently Analagous Threads
- Dict quota timeout error: Has anything changed in the latest versions?
- Dovecot newbie (migrating from qmail)
- Errors after enable vnd.dovecot.duplicate
- qmail and LDA: passdb didn't return userdb entries
- dovecot: imap-login: Maximum number of connections from user+IP exceeded (mail_max_userip_connections)