[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-27 Thread Mark Heitmann
>>/ Did you compile with Solaris's own LDAP library or with OpenLDAP? />/ I'm using iPlanet DS and Solaris's LDAP library. / People have had different kinds of problems with Solaris LDAP library. You could try if OpenLDAP works better. I have the same problem also with openLDAP (compiled with

[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-28 Thread Mark Heitmann
Mark Heitmann wrote: >>/ >>/ Did you compile with Solaris's own LDAP library or with OpenLDAP? />>/ />/ I'm using iPlanet DS and Solaris's LDAP library. />>/ / />>/ People have had different kinds of problems with Solaris LDAP />>/ libra

[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-28 Thread Mark Heitmann
On Wed, 2007-11-28 at 10:22 +0200, Timo Sirainen wrote: >/ On Wed, 2007-11-28 at 09:10 +0100, Mark Heitmann wrote: />/ > pollsys(0x08099448, 11, 0x08047B10, 0x) = 1 />/ > fd=5 ev=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL rev=0 />/ > fd=7 ev=POLLIN|PO

[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-28 Thread Mark Heitmann
>/ It looks like your LDAP library is just returning a wrong file />/ descriptor, and there's nothing I can do about that in Dovecot's side. />/ Use OpenLDAP instead. / Looks like someone else has found this too: http://bugs.opensolaris.org/view_bug.do;jsessionid=868c93415e3b4b73aa32fe63eb730?bu

[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-29 Thread Mark Heitmann
Timo, you are so right! Today in the morning I checked the libs from the dovecot-auth binary and see the following output # ldd /usr/local/libexec/dovecot/dovecot-auth libcrypt_d.so.1 => /usr/lib/libcrypt_d.so.1 libpam.so.1 => /usr/lib/libpam.so.1 libldap.so.5 => /

[Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-29 Thread Mark Heitmann
Here's how to work around it:- In the LDFLAGS use: LDFLAGS="-L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib -L/usr/local/lib -R/usr/local/lib" This works now very well, I'll keep this information in mind ... Thanks a lot @all Mark