IMAP processes out of control

Andrew Morgan morgan at
Tue Sep 22 17:17:44 EDT 2015

On Tue, 22 Sep 2015, Shaheen Bakhtiar wrote:

> It happened again….. although it took longer for it to happen, this has 
> been happening only since the upgrade in Jun.
> The number of imap processes continues to increase until the server is 
> completely OOM. the increase is drastic and all of a sudden.

You should probably set maxchild to a value that won't run your server out 
of memory.  :)

Have you looked at the processes to see what they have in common?  For 
example, sometimes an IMAP client will run amok and make hundreds or 
thousands of connections.  Or perhaps the processes are all stuck waiting 
on a lock, etc.

lsof, strace, netstat, and your Cyrus logs can help a lot.


More information about the Info-cyrus mailing list