Mark Plaksin happy@usg.edu writes:
I just got a different hang while downloading a large attachment:
#0 0xff11dbb4 in _poll () from /usr/lib/libc.so.1 #1 0x0006c784 in io_loop_handler_run (ioloop=0x9f330) at ioloop-poll.c:142 #2 0x0006c164 in io_loop_run (ioloop=0x9f330) at ioloop.c:230 #3 0x00028660 in main (argc=652080, argv=0x962c8, envp=0x0) at main.c:229
Again, I'm not skillful enough with gdb to tell whether this is poll() hanging or whether Dovecot is looping and calling poll multiple times. Next time I'll run truss before gdb!
It's looping and calling poll over and over. This hang is relatively easy to reproduce. If I leave Dovecot idle a while (hours) and then start using it again it (almost?) always gets into this loop when the first UID STORE happens.