Re: [Dovecot] Timeout Value

2010-04-06 Thread JackyC
Subject: Re: [Dovecot] Timeout Value On Wed, 2010-04-07 at 11:48 +0800, jac...@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 us

Re: [Dovecot] Timeout Value

2010-04-06 Thread Timo Sirainen
On Wed, 2010-04-07 at 11:48 +0800, jac...@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/libr

Re: [Dovecot] Timeout Value

2010-04-06 Thread JackyC
vecot really. How about to configure Dovecot to do LDAP lookups directly to isolate the problem? May I ask what is the different between poll() and epoll() ? Yours Sincerely, Jacky Chan From: Timo Sirainen To: jac...@umac.mo Cc: dovecot@dovecot.org Date: 07/04/2010 上午 11:28 Subject: Re: [Dov

Re: [Dovecot] Timeout Value

2010-04-06 Thread Timo Sirainen
On Wed, 2010-04-07 at 11:20 +0800, jac...@umac.mo wrote: > > At least for dovecot-auth -w it looks like it's doing an LDAP lookup (or > connect) in here. Maybe it keeps rapidly reconnecting to it all the > time?.. Anything in Dovecot's error logs? > I think we don't have many massive connection

Re: [Dovecot] Timeout Value

2010-04-06 Thread JackyC
Support Section Information and Communication Technology Office University of Macau DL: (853) 8397 8629 | FAX: (853) 2883 5606 From: Timo Sirainen To: jac...@umac.mo Cc: dovecot@dovecot.org Date: 07/04/2010 上午 11:03 Subject: Re: [Dovecot] Timeout Value On Wed, 2010-04-07 at 10:56 +0800,

Re: [Dovecot] Timeout Value

2010-04-06 Thread Timo Sirainen
On Wed, 2010-04-07 at 10:56 +0800, jac...@umac.mo wrote: > Hi Timo, > > > You do mean all dovecot processes eat 100% CPU, right? And it happens > immediately after they start up? > > Not all. For example, we have 2 "dovecot-auth -w". Suddenly one of them > will eat 100%. After a certain period

Re: [Dovecot] Timeout Value

2010-04-06 Thread JackyC
sswd passwd-file shadow Userdb: nss passwd passwd-file prefetch static Yours Sincerely, Jacky Chan - CHAN Hoi Kei, Jacky Technical and User Support Section Information and Communication Technology Office University of Macau DL: (853) 8397 8629 | FAX: (853) 2883 5606 From: Timo Sirainen To: jac...@u

Re: [Dovecot] Timeout Value

2010-04-06 Thread Timo Sirainen
On Tue, 2010-04-06 at 12:13 +0800, jac...@umac.mo wrote: > Dear All, > > I constantly encounter 'dovecot-auth', 'login-imap', 'login-pop3' and > 'imap' processes consume 100% CPU. > I run 'ps' and found those hanged up processes were running for a long > time. > I am wondering whether dovecot.co

Re: [Dovecot] Timeout Value

2010-04-06 Thread JackyC
es debug: yes passdb: driver: pam userdb: driver: passwd Yours Sincerely, Jacky Chan From: Charles Marcus To: dovecot@dovecot.org Date: 06/04/2010 下午 06:57 Subject: Re: [Dovecot] Timeout Value Sent by: dovecot-bounces+jackyc=umac...@dovecot.org On 2010-04-06 12:13 AM, jac...@uma

Re: [Dovecot] Timeout Value

2010-04-06 Thread Charles Marcus
On 2010-04-06 12:13 AM, jac...@umac.mo wrote: > I am wondering whether dovecot.conf has some configuration parameters that > timeout those processes (or kill those after certain period of time). > I am using dovecot 1.2.11 on RHEL 5.3. Always provide output of dovecot -n whenever config is a pote

Re: [Dovecot] Timeout Value

2010-04-06 Thread Brian Candler
On Tue, Apr 06, 2010 at 12:13:02PM +0800, jac...@umac.mo wrote: > I constantly encounter 'dovecot-auth', 'login-imap', 'login-pop3' and > 'imap' processes consume 100% CPU. > I run 'ps' and found those hanged up processes were running for a long > time. Have you tried attaching strace to them?

[Dovecot] Timeout Value

2010-04-05 Thread JackyC
Dear All, I constantly encounter 'dovecot-auth', 'login-imap', 'login-pop3' and 'imap' processes consume 100% CPU. I run 'ps' and found those hanged up processes were running for a long time. I am wondering whether dovecot.conf has some configuration parameters that timeout those processes (or