[Dovecot] v1.2.beta2: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
Hi Timo,
I'm playing with Dovecot v1.2.beta2 currently. When the dict process was started via deliver(?) and Dovecot is killed (kill $PID_OF_DOVECOT) after delivering only one message, it logs: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
If the dict process was not started or deliver has delivered more than one message, the error doesn't occur. I'm not using SELinux or AppArmor or something similar.
# 1.2.beta2: /usr/local/dovecot12/etc/dovecot.conf # OS: Linux 2.6.26-1-amd64 x86_64 Debian squeeze/sid log_path: /usr/local/dovecot12/var/log/dovecot.log protocols: imap listen: 10.11.12.13:10143 ssl: no disable_plaintext_auth: no login_dir: /usr/local/dovecot12/var/run/dovecot/login login_executable: /usr/local/dovecot12/libexec/dovecot/imap-login verbose_proctitle: yes first_valid_uid: 70000 first_valid_gid: 70000 mail_privileged_group: mail mail_location: maildir:~/Maildir mail_plugins: quota imap_quota auth default: mechanisms: digest-md5 cram-md5 login plain user: nobody verbose: yes debug: yes passdb: driver: sql args: /usr/local/dovecot12/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/dovecot12/etc/dovecot-sql.conf socket: type: listen master: path: /usr/local/dovecot12/var/run/dovecot/auth-master mode: 384 plugin: quota: dict:user::noenforcing:proxy::quotadict quota_rule: *:storage=10M:messages=11 quota_rule2: Trash:storage=50%% mail_debug: yes dict: quotadict: pgsql:/usr/local/dovecot12/etc/dovecot-dict-quota.conf
Regards, Pascal
The trapper recommends today: cafefeed.0907505@localdomain.org
On 16.03.2009 05:28 Pascal Volk wrote:
Hi Timo, […] Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
Wow! I love Dovecot's innate recuperative power. ;-) I can't reproduce the error no longer.
There _was_ also a strange thing with the quota settings: deliver(j.doe@example.com): Mar 16 04:13:14 Info: Quota root: name=user backend=dict args=:noenforcing:proxy::quotadict deliver(j.doe@example.com): Mar 16 04:13:14 Info: Quota rule: root=user mailbox=* bytes=10485760 messages=11 deliver(j.doe@example.com): Mar 16 04:13:14 Info: Quota rule: root=user mailbox=Trash bytes=5242880 (50%) messages=0 deliver(j.doe@example.com): Mar 16 04:13:14 Info: dict quota: user=j.doe@example.com, uri=proxy::quotadict, noenforcing=1 ... deliver(j.doe@example.com): Mar 16 04:13:14 Info: dict quota: user=j.doe@example.com, uri=proxy::quotadict, noenforcing=1 ... dovecot: Mar 16 04:13:14 Error: dict: dict client: Unconfigured dictionary name 'quotadict'
If you are interested I'll send you the logfile.
Regards, Pascal
The trapper recommends today: f007ba11.0907506@localdomain.org
On Mon, 2009-03-16 at 05:28 +0100, Pascal Volk wrote:
Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
If the dict process was not started or deliver has delivered more than one message, the error doesn't occur.
This is fixed by http://hg.dovecot.org/dovecot-1.2/rev/7ddf32656d8c
participants (2)
-
Pascal Volk
-
Timo Sirainen