syncserver crashes with "Too many open files"

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

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

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
syncserver[25602]: Deleted mailbox
syncserver[25602]: IOERROR: creating quota file 
/var/imap/quota/m/ Too many open files
syncserver[25602]: DBERROR: error storing cyrusdb error
syncserver[25602]: LOSTQUOTA: unable to record free of 35066 bytes in 
quota (null)
syncserver[25602]: Deleted mailbox fff
syncserver[25602]: IOERROR: opening quota file 
/var/imap/quota/m/ Too many open files

Thank you,

Per olof

More information about the Info-cyrus mailing list