[Dovecot] dovecot: Fatal: IMAP(user2): write(event_pipe) failed: Bad file descriptor

Mart Pirita sysadmin at e-positive.ee
Thu Apr 17 15:47:50 EEST 2008


Since I upgraded few months ago from version 1.0 to 1.1  (right now 
using v1.1.rc4) in logs for some users only (but in different servers) I 
noticed errors:

dovecot: Fatal: IMAP(user2): write(event_pipe) failed: Bad file descriptor
dovecot: Fatal: IMAP(user3): write(event_pipe) failed: Bad file descriptor

So only for some imap users. And in different servers. And this error happens suddenly, I already tried to delete delete cache and index files. However the users themselves haven't noticed any problems.

Shall I just ignore these errors on what?

Configuration is quite simple:

dovecot -n
# 1.1.rc4: /etc/dovecot.conf
protocols: imaps pop3 pop3s
ssl_parameters_regenerate: 0
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_log_format_elements: %u [%r] %m %c
mail_max_userip_connections(default): 90
mail_max_userip_connections(imap): 90
mail_max_userip_connections(pop3): 9
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): outlook-idle netscape-eoh tb-extra-mailbox-sep delay-newmail
imap_client_workarounds(imap): outlook-idle netscape-eoh tb-extra-mailbox-sep delay-newmail
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(pop3): bytes=%i/%o, del=%d/%m, size=%s
auth default:
  cache_size: 1024
  failure_delay: 3
    driver: pam
    args: cache_key=%u%r%s *
    driver: passwd


More information about the dovecot mailing list