10 Feb
2006
10 Feb
'06
6:11 p.m.
On 7.2.2006 19:40, "Tony Kay" tkay@uoregon.edu wrote:
Feb 7 09:29:54 acad-cl1 dovecot: imap(tkay): close() failed with index file (in-memory index): Bad file descriptor
I traced through the code, and it seems to be coming from mail_index_close() (line 1527 of mail-index.c), which seems to be attempting to close a file descriptor for an index. The funny thing is that since I am using in-memory indexes, I believe that there shouldn't be any file descriptor to close, which would explain why the close is failing...
Did you check that it comes from there, and not from mail_index_move_to_memory()? If it happens in mail_index_close(), it means that somewhere index->fd has been set to something else than -1, which shouldn't happen..