31 Mar
2003
31 Mar
'03
6:12 p.m.
On 31 Mar 2003, Timo Sirainen wrote:
On Sat, 2003-03-29 at 16:39, Mark E. Mallett wrote:
dovecot-auth: getpwnam(xxxx) failed: Too many open files
What passdb are you using? PAM? Something is leaking fds there, but I don't think it's getpwnam() itself.
Plain old passwd file checking.
auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = passwd
Well, that's strange. I don't think getpwnam() should leave any fds open. Auth process does keep one fd per login process, but that's also closed when client logs in or closes the connection. Maybe using passwd-file instead would help?
If you are running this on linux then just:
ls -l /proc/xxx/fd/*
will show you where the file descriptors are going to.
-- Charlie