Hias everybody!
Recently, i've started getting this Too many open files error on my Zimbra install. After a couple of this errors the mailboxd dies.
Zimbra release:
Release 6.0.4_GA_2038.SLES10_64_20091214232236 SLES10_64 FOSS edition.
mailbox.log:
Caused by: java.io.FileNotFoundException: /opt/zimbra/index/0/59/index/0/_2vv.fdx (Too many open files)
2010-03-25 10:34:42,274 ERROR [IndexWriterFlush-1] [] indexadd - Caught Exception java.io.FileNotFoundException: /opt/zimbra/index/0/59/index/0/segments_2or (Too many open files) in LuceneIndex.closeIndexWriter
java.io.FileNotFoundException: /opt/zimbra/index/0/59/index/0/segments_2or (Too many open files)
java.io.FileNotFoundException: /opt/zimbra/store/incoming/1269507585838-112.msg (Too many open files)
java.io.FileNotFoundException: /opt/zimbra/store/incoming/1269507585838-112.msg (Too many open files)
Well, sure, i was suspecting ulimits to be fault of this but it seems they are not. Here's the settings:
/etc/security/limits.conf
zimbra soft nofile 900000
zimbra hard nofile 1024000
If i do ulimit -n on the zimbra used i get 900000
I've never seen /proc/sys/fs/file-nr over 5000, which leaves me puzzled

.
Where should i look next? It's pretty damn annoying to keep restarting mailboxd and i'm really out of ideas......
Regards,
D.