Manoel Prazeres
2008-Jul-07 18:34 UTC
[Dovecot] imap-login: socketpair() failed: Too many open files
Hi, I'am trying to use heartbeat to start dovecot... It starts but all the login connections are reject with this line on log file: Jul 7 12:47:28 markov dovecot: imap-login: socketpair() failed: Too many open files No username/password are asked (using Thunderbird as client). Outside heartbeat, dovecot runs fine. My environment: # dovecot --version 1.1.1 # uname -a Linux markov.impa.br 2.6.18-53.1.21.el5xen #1 SMP Tue May 20 10:03:27 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux # df -H /dovecot (the indexes - a drbd disk) Filesystem Size Used Avail Use% Mounted on /dev/drbd0 5.3G 146M 4.9G 3% /dovecot # df -H /data/mail (the mailboxes - a nfs disk) Filesystem Size Used Avail Use% Mounted on nfs.impa.br:/data/mail 158G 95G 56G 63% /data/mail # dovecot -n # 1.1.1: /etc/dovecot.conf syslog_facility: local5 protocols: imap imaps listen: 127.0.0.1:143 ssl_listen: 147.65.1.46:993 disable_plaintext_auth: yes login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login login_log_format_elements: user=<%u> method=%m pid=%p rip=%r lip=%l %c login_processes_count: 32 login_max_processes_count: 512 first_valid_uid: 8 first_valid_gid: 12 mail_location: mbox:%h/mail:INBOX=%h/mbox:INDEX=/dovecot/imapd.indexes/%u mbox_read_locks: dotlock fcntl mbox_write_locks: dotlock fcntl mail_log_prefix: %Us(%u): pid=%p, rip=%r, lip=%l, auth default: passdb: driver: passwd-file args: /etc/dovecot.deny deny: yes passdb: driver: pam userdb: driver: passwd Any suggestion? Thanks Manoel
Timo Sirainen
2008-Jul-12 12:03 UTC
[Dovecot] imap-login: socketpair() failed: Too many open files
On Mon, 2008-07-07 at 15:34 -0300, Manoel Prazeres wrote:> Hi, > > I'am trying to use heartbeat to start dovecot... > > It starts but all the login connections are reject with this line on log file: > Jul 7 12:47:28 markov dovecot: imap-login: socketpair() failed: Too many open files > > No username/password are asked (using Thunderbird as client). > > Outside heartbeat, dovecot runs fine.Sounds like heartbeat leaks its file descriptors to Dovecot processes. I'd suggest fixing heartbeat. -------------- 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/20080712/f4027da9/attachment-0002.bin>