Hi,
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. (I haven't got more time to look after the issue, it may be obvious from the diffs)
# dovecot -n (after the downgrade) # 2.0.4: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.1-STABLE amd64 auth_cache_size = 104857600 auth_cache_ttl = 86400 s disable_plaintext_auth = no mail_fsync = never mail_gid = 999 mail_location = maildir:~/Maildir mail_plugins = $mail_plugins quota mail_uid = 999 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 passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { autocreate = INBOX.Trash autocreate2 = INBOX.Drafts autocreate3 = INBOX.Sent autocreate4 = INBOX.Spam autosubscribe = INBOX.Trash autosubscribe2 = INBOX.Drafts autosubscribe3 = INBOX.Sent autosubscribe4 = INBOX.Spam mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save mailbox_create mail_log_fields = uid box msgid size flags vsize from subject quota = maildir:User quota } protocols = pop3 imap lmtp service auth { unix_listener auth-userdb { mode = 0600 user = qmailldap } } service imap-login { process_min_avail = 16 service_count = 0 } service imap { client_limit = 8 process_min_avail = 16 service_count = 0 } service lmtp { inet_listener lmtp { port = 24 } user = qmailldap } service pop3-login { process_min_avail = 16 service_count = 0 } service pop3 { client_limit = 8 process_min_avail = 16 service_count = 0 } ssl = no userdb { driver = prefetch } userdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lmtp { mail_plugins = $mail_plugins mail_log notify } protocol imap { mail_max_userip_connections = 1024 mail_plugins = $mail_plugins imap_quota autocreate } protocol pop3 { mail_max_userip_connections = 1024 mail_plugins = $mail_plugins autocreate }
On 10/01/10 23:30, Timo Sirainen wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz.sig
See the "ACL handling bugs" message for more details about the ACL merging bug.
- acl: Fixed the logic of merging multiple ACL entries. Now it works as documented, while previously it could have done slightly different things depending on the order of the entries.
- virtual: Allow opening virtual mailboxes that refer to non-existing mailboxes. It seems that the benefits of this outweigh the lack of error message when typoing a mailbox name.
- Added some disk I/O optimizations to Maildir and index code. They're especially helpful with short-lived connections like POP3.
- pop3: Added pop3_fast_size_lookups setting.
- doveconf sometimes failed with complaining about missing ssl_key setting, causing e.g. dovecot-lda to fail.
- lda: If there's an error in configuration, doveconf didn't exit with EX_TEMPFAIL as it should have.
- sdbox: Fixed memory leak when copying messages with hard links.
- zlib + sdbox combination didn't work
- zlib: Fixed several crashes, which mainly showed up with mbox.
- quota: Don't crash if user has quota disabled, but plugin loaded.
- doveadm fetch uid was actually returning sequence, not uid.
- v2.0.4's subscription listing ignored (and logged a warning about) subscriptions=no namespaces' entries in some configurations. (So listing shared mailboxes' subscriptions could have been broken.)
- acl: Fixed crashing when sometimes listing shared mailboxes via dict proxy.