[Dovecot] Too many open files with test32

Jens Gutzeit dovecot at gutzeit.at
Fri Jul 30 21:43:02 EEST 2004


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



More information about the dovecot mailing list