Pascal Volk
2009-Mar-16 04:28 UTC
[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 at localdomain.org
Pascal Volk
2009-Mar-16 05:17 UTC
[Dovecot] v1.2.beta2: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
On 16.03.2009 05:28 Pascal Volk wrote:> Hi Timo, > [?] > Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptorWow! 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 at example.com): Mar 16 04:13:14 Info: Quota root: name=user backend=dict args=:noenforcing:proxy::quotadict deliver(j.doe at example.com): Mar 16 04:13:14 Info: Quota rule: root=user mailbox=* bytes=10485760 messages=11 deliver(j.doe at example.com): Mar 16 04:13:14 Info: Quota rule: root=user mailbox=Trash bytes=5242880 (50%) messages=0 deliver(j.doe at example.com): Mar 16 04:13:14 Info: dict quota: user=j.doe at example.com, uri=proxy::quotadict, noenforcing=1 ... deliver(j.doe at example.com): Mar 16 04:13:14 Info: dict quota: user=j.doe at 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 at localdomain.org
Timo Sirainen
2009-Apr-02 19:09 UTC
[Dovecot] v1.2.beta2: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090402/55f1fae5/attachment-0002.bin>
Possibly Parallel Threads
- 1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
- Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted
- pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5):
- dovecot 1.2.beta1: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
- Login Fails: epoll_ctl(1, 7): Operation not permitted