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

2008-01-02 Thread KOT MATPOCKuH
On Nov 23, 2007 4:08 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On 23.11.2007, at 14.33, KOT MATPOCKuH 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 Solar

[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

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

2007-11-29 Thread Mike Brudenell
Greetings - On 29 Nov 2007, at 09:24, Mark Heitmann wrote: In my $LD_LIBRARY_PATH /usr/lib is behind /usr/local/lib (for openldap), although dovecot-auth was linked with the Solaris lib. The way that works for me is the following LDFLAGS directive to the configure command, because the -- wi

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

2007-11-29 Thread Stephen Usher
hello Mark, Mark Heitmann wrote: In my $LD_LIBRARY_PATH /usr/lib is behind /usr/local/lib (for openldap), although dovecot-auth was linked with the Solaris lib. The way that works for me is the following LDFLAGS directive to the configure command, because the --with-ldap flag has no directory

[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 => /

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

2007-11-28 Thread Timo Sirainen
On Wed, 2007-11-28 at 16:34 +0100, Mark Heitmann wrote: > > > > >/ 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: > > >

[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

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

2007-11-28 Thread Timo Sirainen
On Wed, 2007-11-28 at 15:55 +0200, Timo Sirainen wrote: > On Wed, 2007-11-28 at 14:41 +0100, Mark Heitmann wrote: > > > + if (conn->fd <= 3) > > > + i_error("LDAP returned wrong fd %d", conn->fd); > > > i_assert(conn->fd != -1); > > > net_set_nonblock(conn->fd, T

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

2007-11-28 Thread Timo Sirainen
On Wed, 2007-11-28 at 14:41 +0100, Mark Heitmann wrote: > > + if (conn->fd <= 3) > > + i_error("LDAP returned wrong fd %d", conn->fd); > > i_assert(conn->fd != -1); > > net_set_nonblock(conn->fd, TRUE); > > } > > Okay, with the little debug patch, this ist the

[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|POLLPRI|POLLERR|POLLHUP|P

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

2007-11-28 Thread Timo Sirainen
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|POLLPRI|POLLERR|POLLHUP|POLLNVAL r

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

2007-11-28 Thread Timo Sirainen
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|POLLPRI|POLLERR|POLLHUP|POLLNVAL rev=0 > fd=1 ev=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL

[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 />>/ library. You could try if OpenLDAP works better. />/ />/ I hav

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

2007-11-27 Thread Bart Smaalders
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 library. You could try if OpenLDAP works better. I have the same problem also with op

[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

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

2007-11-23 Thread Timo Sirainen
On 23.11.2007, at 14.33, KOT MATPOCKuH 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 library. You could try if OpenLDAP works better. PGP.sig Descrip

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

2007-11-23 Thread Peter Eriksson
KOT MATPOCKuH wrote: > On Nov 22, 2007 9:01 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> On Thu, 2007-11-22 at 17:41 +0300, KOT MATPOCKuH wrote: >>> I tried to make dovecot with configure --with-ioloop=select and same result: >>> [skipped] >>> pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x) =

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

2007-11-23 Thread KOT MATPOCKuH
On Nov 22, 2007 9:01 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-22 at 17:41 +0300, KOT MATPOCKuH wrote: > > I tried to make dovecot with configure --with-ioloop=select and same result: > > [skipped] > > pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x) = 1 > > pollsys(0xFFBFF4D8,

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

2007-11-22 Thread Timo Sirainen
On Thu, 2007-11-22 at 17:41 +0300, KOT MATPOCKuH wrote: > I tried to make dovecot with configure --with-ioloop=select and same result: > [skipped] > pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x) = 1 > pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x) = 0 > pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x0

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

2007-11-22 Thread KOT MATPOCKuH
I tried to make dovecot with configure --with-ioloop=select and same result: [skipped] pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x) = 1 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x) = 0 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x) = 0 pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x) = 1 poll

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

2007-11-21 Thread KOT MATPOCKuH
Is problem with CPU load solved? I have same problem - dovecot-auth eats one of my cores. I'm using dovecot 1.0.7 on Solaris 10 Sparc. I tried to use auth-bind and standard scheme with separate user for bind and have same result. Problem occupts only with LDAP authentication, on some other systems