7 Apr
2010
7 Apr
'10
6:50 a.m.
On Wed, 2010-04-07 at 11:48 +0800, JackyC@umac.mo wrote:
Oh, right, you're using NSS lookups instead of Dovecot's direct LDAP lookups. And the strace output shows it's calling poll(), but Dovecot was compiled to use epoll(). That means the problem is with your NSS configuration/libraries/whatever, nothing to do with Dovecot really.
How about to configure Dovecot to do LDAP lookups directly to isolate the problem?
That would probably help.
May I ask what is the different between poll() and epoll() ?
Nothing important. What I meant by that above is that strace shows that the code that's running and eating 100% CPU is either pam_ldap or nss_ldap, not Dovecot.