[Dovecot] High CPU utilization on Solaris 10
Yes, I compiled with gcc (GCC) 3.4.6 from sunfreeware. -Jon
Re: [Dovecot] High CPU utilization on Solaris 10
On Thu, 16 Aug 2007, Jon Alessandrello wrote: It is putting me in an infinite loop: truss -p 548 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 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.
Re: [Dovecot] High CPU utilization on Solaris 10
Peter Eriksson wrote: We also saw a lot of pollsys() calls when trussing it. We haven't had time to debug it further though. I tried compiling the source file that calculates the ioloop timeout using "-O" instead of "-fast" but that didn't make any difference. If you are using Sun Studio 12 compile all with "-xtarget=native -xO3" and see if it helps for your high CPU usage, for me it did. Tomi
Re: [Dovecot] High CPU utilization on Solaris 10
Jon Alessandrello skrev: 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 :( We are also seeing lot's of problems with high CPU utilizations on Solaris 10, but in the IMAP daemon. We found one way around it and that is to disable the IDLE support. By disabling IDLE our CPU load went from 100 to 3 (on a 6-core Sun T1000 (looks like a 24 CPU machine). We typically have 100-300 users accessing this server using POP3 and IMAP. We also saw a lot of pollsys() calls when trussing it. We haven't had time to debug it further though. I tried compiling the source file that calculates the ioloop timeout using "-O" instead of "-fast" but that didn't make any difference. - Peter - Peter
[Dovecot] High CPU utilization on Solaris 10
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 :(
Re: [Dovecot] High CPU utilization on Solaris 10
On 16.8.2007, at 20.51, Jon Alessandrello wrote: pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 Some people had this problem when giving some superoptimization flags with Sun Studio. Did you do that? PGP.sig Description: This is a digitally signed message part
Re: [Dovecot] High CPU utilization on Solaris 10
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, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 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
[Dovecot] High CPU utilization on Solaris 10
It is putting me in an infinite loop: truss -p 548 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0x0005C5F0, 29, 0xFFBFFA30, 0x) = 1 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 pollsys(0xFFBFF5B8, 5, 0xFFBFF548, 0x) = 0 -Jon
Re: [Dovecot] High CPU utilization on Solaris 10
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 300 5240K 3416K run522:51 49.45% dovecot-auth See what it's doing with truss: truss -p 548 signature.asc Description: This is a digitally signed message part
[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 300 5240K 3416K run522: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