24 Jun
2004
24 Jun
'04
8:27 a.m.
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