<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On 7 Sep 2018, at 16.50, Simone Lazzaris <<a href="mailto:s.lazzaris@interactive.eu" class="">s.lazzaris@interactive.eu</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">Some more information: the issue has just occurred, again on an instance without the "service_count = 0" configuration directive on pop3-login.</div><p style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""> </p><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">I've observed that while the issue is occurring, the director process goes 100% CPU. I've straced the process. It is seemingly looping:</div><p style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""> </p><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">...</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">...</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_ADD, 78, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=149035320, u64=149035320}}) = 0</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_DEL, 78, {0, {u32=149035320, u64=149035320}}) = 0</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_ADD, 78, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=149035320, u64=149035320}}) = 0</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_DEL, 78, {0, {u32=149035320, u64=149035320}}) = 0</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_ADD, 78, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=149035320, u64=149035320}}) = 0</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">epoll_ctl(13, EPOLL_CTL_DEL, 78, {0, {u32=149035320, u64=149035320}}) = 0</div></div></blockquote><div><br class=""></div><div>Nothing else but these epoll_ctl() calls? So it's gone to some loop where it keeps calling io_add() and io_remove(). </div><br class=""><blockquote type="cite" class=""><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Bitstream Vera Sans Mono"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">FD 13 is "anon_inode:[eventpoll]"</div></blockquote><div><br class=""></div><div>What about fd 78? I guess some socket.</div><br class=""></div><div>Could you also try two more things when it happens again:</div><div><br class=""></div><div>ltrace -tt -e '*' -o ltrace.log -p <pid></div><div>(My guess this isn't going to be very useful, but just in case it might be..)</div><div><br class=""></div>gdb -p <pid><div class="">bt full</div><div class="">quit</div><div class=""><br class=""></div><div class="">Preferably install dovecot-dbg package also so the gdb backtrace output will be better.</div><div class=""><br class=""></div></body></html>