Gregory Bond wrote:
The bad news is it seems to be leaking FDs to do with inbox:
imap 10198 gnb 164r VDIR 255,7032 8192 5784160 /home/gnb/Maildir/new imap 10198 gnb 165r VDIR 255,7032 1093632 2917923 /home/gnb/Maildir/cur
Looks like the leak is in the IDLE handling:
poll(0x00090EB8, 2, 426) = 1 write(1, " * S T A T U S " P _".., 88) = 88 poll(0x00090EB8, 1, 426) = 1 read(0, " 2 7 4 I D L E\r\n", 966) = 10 open64("/home/gnb/Maildir/new", O_RDONLY) = 142 fstat64(142, 0xFFBEF7D8) = 0 open64("/home/gnb/Maildir/cur", O_RDONLY) = 143 fstat64(143, 0xFFBEF848) = 0 poll(0x00090EB8, 2, 421) = 1 write(1, " + i d l i n g\r\n", 10) = 10 poll(0x00090EB8, 1, 421) = 0 poll(0x00090EB8, 1, 0) = 0