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, 0x00000000) = 1 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x00000000) = 0 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x00000000) = 0 pollsys(0xFFBFF888, 8, 0xFFBFF950, 0x00000000) = 1 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x00000000) = 0 pollsys(0xFFBFF4D8, 5, 0xFFBFF458, 0x00000000) = 0 [skipped to forever] and 100% of CPU time.
Wonder why it still calls pollsys().. Does Solaris emulate select() using poll(), or did you somehow manage to get Dovecot configured with poll after all?
May be problem is in select() (poll() ?) call with unnecessary file descriptor, who always ready (may be connection to LDAP server?) ?
Did you compile with Solaris's own LDAP library or with OpenLDAP?