At Fri, 17 May 2013 16:56:04 +0400, Sergej Pupykin <m...@sergej.pp.ru> wrote: > It does not help. As I understand problem: > > - start timsieved for example > - connect using telnet tool > - timsieved gets socket_write_cb() but there is nothing to write and > nothing to read, so it eats 100% CPU in empty loop on inactive > connection. > > I saw the same with imapd server. Strace shown that poll continuously > returns pollout for fd=1, but probably imapd has nothing to send.
I still cannot provide steps-to-reproduce for imapd, but sometimes imapd comes to infinite loop reading 0 but not closing connection: strace: poll([{fd=10, events=POLLIN}, {fd=114, events=POLLIN}, {fd=128, events=POLLIN}, {fd=186, events=POLLIN}, {fd=211, events=POLLIN read(229, "", 4095) = 0 read(186, "", 4095) = 0 poll([{fd=10, events=POLLIN}, {fd=114, events=POLLIN}, {fd=128, events=POLLIN}, {fd=186, events=POLLIN}, {fd=211, events=POLLIN read(229, "", 4095) = 0 read(186, "", 4095) = 0 poll([{fd=10, events=POLLIN}, {fd=114, events=POLLIN}, {fd=128, events=POLLIN}, {fd=186, events=POLLIN}, {fd=211, events=POLLIN read(186, "", 4095) = 0 read(229, "", 4095) = 0 poll([{fd=10, events=POLLIN}, {fd=114, events=POLLIN}, {fd=128, events=POLLIN}, {fd=186, events=POLLIN}, {fd=211, events=POLLIN read(229, "", 4095) = 0 read(186, "", 4095) = 0 poll([{fd=10, events=POLLIN}, {fd=114, events=POLLIN}, {fd=128, events=POLLIN}, {fd=186, events=POLLIN}, {fd=211, events=POLLIN read(186, "", 4095) = 0 read(229, "", 4095) = 0 _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev