syncserver crashes with "Too many open files"

Per olof Ljungmark peo at intersonic.se
Sun Aug 12 04:05:21 EDT 2007


In implementing the scheme I discussed a few days ago I came across this 
error.

Because syncserver needs to delete all the mailboxes first, it crashes 
with "Too many open files" when the user has a lot of messages.

I'm unsure if this is a cyrus or system error, but my guess is cyrus. 
Does syncserver take the "maxfds" argument?

It takes a restart of the imapserver to get it back running properly.

syncserver[25602]: Deleted mailbox user.xxx.yyy.zzz
syncserver[25602]: Deleted mailbox user.xxx.bbb.ccc
<etc>
syncserver[25602]: IOERROR: creating quota file 
/var/imap/quota/m/user.xxx.NEW: Too many open files
syncserver[25602]: DBERROR: error storing user.xxx: cyrusdb error
syncserver[25602]: LOSTQUOTA: unable to record free of 35066 bytes in 
quota (null)
syncserver[25602]: Deleted mailbox user.xxx.ddd.eee fff
syncserver[25602]: IOERROR: opening quota file 
/var/imap/quota/m/user.xxx: Too many open files

Thank you,

Per olof


More information about the Info-cyrus mailing list