[Dovecot] too many files opened

Timo Sirainen tss at iki.fi
Sun Sep 9 06:05:04 EEST 2007


On Wed, 2007-08-29 at 10:06 +0800, Joshua, C.S. Chen wrote:
> Hi folks,
> My institute's mail server was upgraded to RHEL5 with dovecot 1.0-2.1rc5
> recently. And it uses PAM authentication which points to LDAP server.
> Now from time to time it gets Error like

rc5 is pretty old. There are v1.0.x packages for RHEL5.

> dovecot: Aug 29 09:23:59 Error: auth(default):
> pam(joshua,192.168.177.52): pipe() failed: Too many open files

Look at dovecot-auth process's list of open files:

ls -l /proc/`pidof dovecot-auth`/fd/

How many are there and what are opened most of the time?

> auth default:
> passdb:
> driver: pam
> userdb:
> driver: passwd

Are you using also nss_ldap? See
http://wiki.dovecot.org/AuthDatabase/Passwd. With rc5 you can't fix it
properly, and that could also be the cause of your problems.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070909/26df85df/attachment.bin 


More information about the dovecot mailing list