[Dovecot] imap-login: socketpair() failed: Too many open files

Manoel Prazeres prazeres at impa.br
Mon Jul 7 21:34:14 EEST 2008


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



More information about the dovecot mailing list