Cyrus & Berkeley db3 error

From: Tim Schneider <tim_at_no.spam.please>
Date: Wed Jan 23 2008 - 12:40:05 CST

Got my cyrus imap with sasl and sieve up and running now thanks to Steve
for the help.

Today I logged in just to let people know that I may be late arriving to
the meeting tonight and I noticed that I had not received any email for
about 1 1/2 hours. There should have been many spam.

So I check the server and find that the /var/imap/db berkeley database is
corrupt.

I found this log entry:
Jan 23 10:41:16 ibm lmtpunix[17244]: DBERROR db3:
/var/imap/db/log.0000000001: log file open failed: Too many open files
in system
Jan 23 10:41:16 ibm lmtpunix[17244]: DBERROR db3: PANIC: Too many open
files in system
Jan 23 10:41:16 ibm lmtpunix[17244]: DBERROR: critical database situation

So could someone give me a crash course on FreeBSD system management as
far as it pertains to finding the setting that limits the number of open
files and maybe listing open files. Is there a common, easy fix for
this issue.

I was able to recover the database with:
/usr/local/bin/db3_recover -vh /var/imap/db

Thanks,
Received on Wed Jan 23 12:40:14 2008

This archive was generated by hypermail 2.1.8 : Wed Jan 23 2008 - 12:40:19 CST