Hi Timo and others, I'm using test32 since today and I'm getting this error once every 2 hours or so: dovecot: Jul 30 20:21:26 Error: IMAP(jens at gutzeit.at): open(/var/mail/data/jens/jens at gutzeit.at/maildir/.INBOX.Gentoo.Security/dovecot-uidlist) failed: Too many open files dovecot: Jul 30 20:21:26 Error: IMAP(jens at gutzeit.at): file maildir-uidlist.c: line 147 (maildir_uidlist_deinit): assertion failed: (!UIDLIST_IS_LOCKED(uidlist)) The problem is not specific to this mailbox. I hadn't this problem with the stable releases and I've also not set any special limits for the dovecot processes. I'm using a grsec pathed kernel (linux 2.6.7), the kern log says: grsec: attempted resource overstep by requesting 1024 for RLIMIT_NOFILE against limit 1024 by /usr/local/libexec/dovecot/imap[imap:19114] uid/euid:1011/1011 gid/egid:448/448, parent /usr/local/sbin/dovecot[dovecot:7799] uid/euid:0/0 gid/egid:0/0 Does dovecot really need more then 1024 filedescriptors or is it a bug? If you need more information just ask. best regards, Jens
On 30.7.2004, at 21:43, Jens Gutzeit wrote:> I'm using test32 since today and I'm getting this error once every 2 > hours or so: > > dovecot: Jul 30 20:21:26 Error: IMAP(jens at gutzeit.at): > open(/var/mail/data/jens/jens at gutzeit.at/maildir/ > .INBOX.Gentoo.Security/dovecot-uidlist) > failed: Too many open filesCould you look from /proc/pid-of-imap/fd/ what the used files are after it contains more than 10-20? -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040731/ddd5d849/attachment-0001.bin>
On Sat, Jul 31, 2004 at 02:44:22AM +0300, Timo Sirainen wrote:> Could you look from /proc/pid-of-imap/fd/ what the used files are after > it contains more than 10-20?cat root # ls /proc/5950/fd/ 0 11 14 17 2 22 25 28 30 33 36 39 41 44 47 5 52 55 58 60 63 66 8 1 12 15 18 20 23 26 29 31 34 37 4 42 45 48 50 53 56 59 61 64 68 9 10 13 16 19 21 24 27 3 32 35 38 40 43 46 49 51 54 57 6 62 65 7 I've also run lsof -p 5950, output is at: http://gutzeit.at/lsof.dovecot.txt Hope this helps, Jens