On Wed, 2006-11-08 at 10:31 -0500, bofh list wrote:
dovecot: Nov 08 04:04:23 Error: IMAP(user): open() failed with file mailstore/user/Maildir/.Alerts/dovecot.index.log.2: Too many open files dovecot: Nov 08 04:04:23 Error: IMAP(user): open(mailstore/user/Maildir/.Alerts/tmp/1162976663.P4853Q1817.server) failed: Too many open files dovecot: Nov 08 04:04:23 Error: IMAP(user): open() failed with file mailstore/user/Maildir/dovecot.index.tmp: Too many open files
Seeing this with both 1.0beta9 and 1.0rc12
This occured when a user was not using the client, however the client(Thunderbird) filtering mechanism was active as their client is left on 24x7.
Do we really need to increase individual user maxfiles to >1024 ?
No. There's a leak somewhere. Could you check what file descriptors are open for such process once it has been running for some hours? So lsof -p <pid> or look into /proc/pid/fd/ directly. If it's leaking it should show at least tens of opened files. Once I know what files it's not closing it's easier for me to fix this.