[Dovecot] 1.0-test49 FD leak
I'm running 1.0-test49 on Solaris 2.8.
The good news is that this version fixes my problem with corrupted index files (so far).
The bad news is it seems to be leaking FDs to do with inbox:
imap 10198 gnb 156r VDIR 255,7032 8192 5784160 /home/gnb/Maildir/new imap 10198 gnb 157r VDIR 255,7032 1093632 2917923 /home/gnb/Maildir/cur imap 10198 gnb 158r VDIR 255,7032 8192 5784160 /home/gnb/Maildir/new imap 10198 gnb 159r VDIR 255,7032 1093632 2917923 /home/gnb/Maildir/cur imap 10198 gnb 160r VDIR 255,7032 8192 5784160 /home/gnb/Maildir/new imap 10198 gnb 161r VDIR 255,7032 1093632 2917923 /home/gnb/Maildir/cur imap 10198 gnb 162r VDIR 255,7032 8192 5784160 /home/gnb/Maildir/new imap 10198 gnb 163r VDIR 255,7032 1093632 2917923 /home/gnb/Maildir/cur 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
(seems to be a new pair of FDs leaked each time my MUA checks for new mail).
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
On 19.10.2004, at 04:37, Gregory Bond wrote:
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:
Yep. Except with Linux (with dnotify), which is why I hadn't noticed this before. Fixed in upcoming nightly snapshot (in 15 mins or so - hope I didn't break anything today :).
participants (2)
-
Gregory Bond
-
Timo Sirainen