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

Timo Sirainen tss at iki.fi
Sun Jun 11 16:04:30 EEST 2006


On Wed, 2006-05-31 at 12:50 -0400, Tore André Klock wrote:
> Timo Sirainen wrote:
> > So it is /dev/null.. What if you add the attached patch, does it crash
> > then instead? If yes, it looks like a bug in the LDAP library.. 
> It starts and then crashes with these entries in the log:
> dovecot: May 31 12:43:31 Info: Dovecot v1.0.beta8 starting up
> dovecot: May 31 12:43:32 Error: auth(default): file db-ldap.c: line 276
> (db_ldap_connect): assertion failed: (fd != 1)

Did you figure this out yet? This assert really shouldn't have happened,
so I think this is the problem:

> >Or is it
> > possible that you have the same problem as this other guy who compiled
> > Dovecot with one LDAP's header files but actually used another LDAP's
> > library? Looking at your original mail you seemed to have given correct
> > flags, but maybe it still was using Solaris LDAP's header file?
.
> Anything is possible.
> 
> My Makefile (in src and src/auth) shows this:
> AUTH_CFLAGS =
> AUTH_LIBS =  -lpam -lldap
> [...]
> CC = /usr/sfw/bin/gcc
> CCDEPMODE = depmode=gcc3
> CFLAGS = -std=gnu99 -m64
> -I/usr/local/ssl/include:/usr/sfw/include:/opt/sfw/include -Wall -W
> -Wmissing-prototypes -Wmissing-declarat
> ions -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
> -I/usr/sfw/include
> CPP = /usr/sfw/bin/cpp
> CPPFLAGS = -I/usr/local/ssl/include/openssl:/usr/sfw/include:/opt/sfw/include

Does this mean it first looks at openssl and then the others, or the
other way around? I've never used -Ia:b:c format.

> Maybe I need to manually change AUTH_CFLAGS?

Don't know really..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060611/ae3a231b/attachment.pgp


More information about the dovecot mailing list