Re: [Dovecot] High cpu usage OpenSolaris

2007-08-01 Thread Peter Eriksson
Last I heard it was that poll() was called all the time with zero (or 1ms?) timeout. So the problem is probably in src/lib/ioloop.c io_loop_get_wait_time() getting optimized wrong. Hmm.. poll/timeout problems. Sounds suspiciously like: http://groups.google.se/group/comp.unix.solaris/browse_t

Re: [Dovecot] High cpu usage OpenSolaris

2007-08-01 Thread Timo Sirainen
On Wed, 2007-08-01 at 15:12 +0200, DINH Viêt Hoà wrote: > On 8/1/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Sun, 2007-07-29 at 21:27 -0400, Gary Gendel wrote: > > > All, > > > > > > Nevermind... I discovered the problem. It was in the Solaris Sun Studio > > > 12 compiler. I created a debug

Re: [Dovecot] High cpu usage OpenSolaris

2007-08-01 Thread DINH Viêt Hoà
On 8/1/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Sun, 2007-07-29 at 21:27 -0400, Gary Gendel wrote: > > All, > > > > Nevermind... I discovered the problem. It was in the Solaris Sun Studio > > 12 compiler. I created a debug version to begin testing, but that > > version worked without sucki

Re: [Dovecot] High cpu usage OpenSolaris

2007-08-01 Thread Timo Sirainen
On Sun, 2007-07-29 at 21:27 -0400, Gary Gendel wrote: > All, > > Nevermind... I discovered the problem. It was in the Solaris Sun Studio > 12 compiler. I created a debug version to begin testing, but that > version worked without sucking up the cpu. So it looks like the > optimizer messed up. If I

[Dovecot] High cpu usage OpenSolaris

2007-07-29 Thread Gary Gendel
All, Nevermind... I discovered the problem. It was in the Solaris Sun Studio 12 compiler. I created a debug version to begin testing, but that version worked without sucking up the cpu. So it looks like the optimizer messed up. If I used the -fast optimization, it sucks up cpu, but with -xO5 all i

[Dovecot] High cpu usage OpenSolaris

2007-07-28 Thread Gary Gendel
Hi, I've built 64-bit dovecot 1.0.2 on Opensolaris to replace version 1.0.0rc10. It functions fine, but when I connect, it eats up all available cpu. My guess is that the poll thread is running continuously. Any ideas on what I should do to verify this or does anyone know of a fix? Thanks, Gary