[Dovecot] High CPU utilization on Solaris 10
I've read similar post about such an issue, but have not seen any posted solutions. I have a clean install of Solaris 10 running a Sunfire v440 w/postfix. I am using dovecote solely for SMTP authentication, and it is working just fine except while running top I constantly see:
548 root 1 30 0 5240K 3416K run 522:51 49.45% dovecot-auth
The process never crashes, nor are there any errors. I ran a test devel box with an almost identical setup of postfix and dovecot on Solaris 9 (V240) and the functionality is identical, but with no high CPU usage. The following are my configs and system info:
dovecot --version 1.0.3
OS Solaris 10 Sparc (Patched)
No NFS all local ufs
dovecot -n # 1.0.3: /usr/local/etc/dovecot.conf log_path: /var/log/dovecot protocols: none ssl_disable: yes login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login auth default: mechanisms: plain login passdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf userdb: driver: ldap args: /usr/local/etc/dovecot-ldap.conf socket: type: listen client: path: /opt/pmx/postfix/var/private/auth mode: 432 user: postfix group: postfix
cat dovecot-ldap.conf: hosts = localhost
dn = cn=priv-account,ou=container,dc=example,dc=com dnpass = mydnpasswd
ldap_version = 3 base = ou=people,dc=example,dc=com scope = subtree pass_attrs = uid=user,userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u))
default_pass_scheme = CRYPT
Any help would be great!!
-Jon
On Thu, 2007-08-16 at 08:28 -0400, Jon Alessandrello wrote:
I've read similar post about such an issue, but have not seen any posted solutions. I have a clean install of Solaris 10 running a Sunfire v440 w/postfix. I am using dovecote solely for SMTP authentication, and it is working just fine except while running top I constantly see:
548 root 1 30 0 5240K 3416K run 522:51 49.45% dovecot-auth
See what it's doing with truss:
truss -p 548
It is putting me in an infinite loop:
truss -p 548
pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0
-Jon
On Aug 16, 2007, at 1:51 PM, Jon Alessandrello wrote:
It is putting me in an infinite loop:
truss -p 548
pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x00000000) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 ...
Just as a data point...My installation is running 1.0rc29 under
Solaris10 (SPARC) and I'm not seeing anything liket his. Just FYI.
-Dave
-- Dave McGuire Port Charlotte, FL Farewell Ophelia, 9/22/1991 - 7/25/2007
On Thu, 16 Aug 2007, Jon Alessandrello wrote:
It is putting me in an infinite loop:
truss -p 548
pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x00000000) = 0
Hi Jon,
I'm on Solaris 10 SPARC (11/06) too but I don't seem to experiencing this. Did you compile yours using gcc?
Cheers.
Yes, I compiled with gcc (GCC) 3.4.6 from sunfreeware.
-Jon
participants (5)
-
Dave McGuire
-
instigatetrouble@gmail.com
-
Jon Alessandrello
-
Tan Shao Yi
-
Timo Sirainen