[Dovecot] 1.0-test22 - maildir fixed?

Tomi Hakala tomi.hakala at clinet.fi
Thu Jun 24 09:27:24 EEST 2004


Nicolas STRANSKY wrote:
> > Jun 24 07:55:55 aster dovecot: IMAP(nico): open() failed with index file /home/nico/mail/Debian/.imap/debian-user-french/dovecot.index: Too many open files
> ...
> 
> There's a lot like these for all of my imap folders. Is there a way to
> fix it ?

See how many open files your system supports, with a kernel 2.4.26 and
256M memory default is 26208 open files.

# cat /proc/sys/fs/file-max
26208

You can double the value pretty safely

echo "65535" > /proc/sys/fs/file-max

To have new value set on a boot put it in a /etc/sysctl.conf like

fs.file-max=65535

-- 
Tomi Hakala



More information about the dovecot mailing list