[dovecot] Re: Failure in the presence of too many connections
Charlie Brady
charlieb-dovecot at e-smith.com
Mon Mar 31 18:12:22 EEST 2003
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
More information about the dovecot
mailing list