After i configured authdaemond to use mysql authentication it runs at 100% cpu usage. CPU: AMD Athlon 2400+ My Compilerflags are: CFLAGS="-O2 -pipe" i tried to compile it with folowing flags, too: (i compiled the hole system not only courier with theese flags.) CFLAGS="-march=pentium3 -O3 -pipe" (on an p3 system) CFLAGS="-mcpu=athlon-xp -O3 -pipe" (on the athlon machine mentioned above) Reproducible: Always Steps to Reproduce: 1. emerge courier 2. configure courier for mysql authentication 3. /etc/init.d/courier start Actual Results: Mostly courierlocal runs @ 100% cpu usage direct after /etc/init.d/courier start. anyway courierlocal runs @ 100% cpu usage after i fetched and send some mails. Expected Results: not to run @ 100% cpu usage. Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(TM) XP 2400+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif gpm imlib jpeg libg++ mad mikmod mmx motif ncurses nls oggvorbis opengl pdflib png quicktime sdl spell svga truetype xmms xv zlib gdbm berkdb slang readline tcpd pam libwww ssl perl python -X -gtk -gtk2 -gimp -gnome -alsa -java -qt -qt3 -kde apache2 mysql xml xml2 -mpg -mpeg -video -sound -media ppds imap pop pop3 imap4" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg userpriv"
does it work (like actually process requests) or does it seem stuck in an infinite loop ? try running strace and see what it gets stuck in
Any more info on this, it works fine here.
we need more info to help you