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-authSee what it's doing with truss: truss -p 548 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070816/46bd0c37/attachment-0002.bin>
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
Some people had this problem when giving some superoptimization flags with Sun Studio. Did you do that? -Timo No I did not use any optimization. And Dave, I took what you said and just tried both dovecot-1.0.2 dovecot-1.0.rc29 and have the same exact results :(