With approximately 1000 concurrent imap users Dovecot crashes with "imap: Panic: epoll_ctl(add, 6) failed: Invalid argument"

Solution Verified - Updated -

Issue

  • With approximately 1000 concurrent imap users, Dovecot crashes with the following message, as seen in the system messages file:
Mar 13 08:49:15 hostname dovecot: imap: Panic: epoll_ctl(add, 6) failed: Invalid argument
Mar 13 08:49:15 hostname dovecot: imap: Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0 [0x2b0019589bb0] -> /usr/lib64/dovecot/libdovecot.so.0 [0x2b0019589c06] -> /usr/lib64/dovecot/libdovecot.so.0 [0x2b00195895c3] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handle_add+0x118) [0x2b00195959f8] -> /usr/lib64/dovecot/libdovecot.so.0(io_add+0xa5) [0x2b00195950c5] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_init_finish+0x1d2) [0x2b0019583552] -> dovecot/imap(main+0x11f) [0x417b5f] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x33efe1d994] -> dovecot/imap [0x4081e9]

Environment

  • Red Hat Enterprise Linux 5.8
  • kernel 2.6.18-308.1.1.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content