I got lots of errors that look like this: Error: write(dnotify pipe) failed: Bad file descriptor I am running dovecot-1.2.4-0_99 on RHEL4 dovecot -n: # 1.2.4: /etc/dovecot.conf # OS: Linux 2.6.9-89.0.3.ELsmp x86_64 Red Hat Enterprise Linux AS release 4 (Nahant Update 8) ext3 log_path: /var/log/dovecot info_log_path: /var/log/dovecot-info 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_process_per_connection: no login_process_size: 1024 login_processes_count: 6 login_max_processes_count: 1024 login_max_connections: 1024 max_mail_processes: 50000 verbose_proctitle: yes first_valid_uid: 50 mail_uid: 93 mail_gid: 12 mail_location: maildir:/var/spool/maildirs/%d/%n/Maildir mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_process_size: 1024 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 namespace: type: private prefix: INBOX. inbox: yes list: yes subscriptions: yes lda: postmaster_address: postmaster at example.com auth default: cache_ttl: 43200 cache_negative_ttl: 0 verbose: yes passdb: driver: ldap args: /etc/dovecot-ldap.conf plugin: quota: maildir Any suggestions? Dave
On Fri, 2009-08-28 at 11:47 -0400, David Cunningham wrote:> I got lots of errors that look like this: > > Error: write(dnotify pipe) failed: Bad file descriptorHmm. Are they all exactly this, or also something else? I don't really see in the code how that could happen. Anyway you could disable using dnotify with configure --with-notify=none -------------- 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/20090828/47833c76/attachment-0002.bin>
I had heard/read something online about using inotify instead of dnotify. Any idea what that is about? I have not heard any complaints, nor do I know why this happens. I just notice this and exactly this in the logs. Dave Quoting Timo Sirainen <tss at iki.fi>:> On Fri, 2009-08-28 at 11:47 -0400, David Cunningham wrote: >> I got lots of errors that look like this: >> >> Error: write(dnotify pipe) failed: Bad file descriptor > > Hmm. Are they all exactly this, or also something else? I don't really > see in the code how that could happen. > > Anyway you could disable using dnotify with configure --with-notify=none > >