[Dovecot] imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument

Angel L. Mateo amateo at um.es
Mon Jul 9 15:03:42 EEST 2012


El 09/07/12 13:51, Timo Sirainen escribió:
> On Mon, 2012-07-09 at 13:39 +0200, Angel L. Mateo wrote:
>> Hello,
>>
>> 	More problems (it seems that we won't be able to put our new servers in
>> production). The problem now is that when we reach 1000 dovecot
>> processes we have errors like:
>>
>> Jul  9 12:10:22 myotis31 dovecot: imap-login: Panic: epoll_ctl(add, 6)
>> failed: Invalid argument
>> Jul  9 12:10:22 myotis31 dovecot: imap-login: Fatal: master:
>> service(imap-login): child 32251 killed with signal 6 (core dumps disabled)
>>
>> 	and server doesn't accept any new connection.
>>
>> 	Our servers are running in ubuntu 12.04 with kernel 3.2.0-24-generic
>> kernel. I have found a similar problem at
>> https://bugzilla.redhat.com/show_bug.cgi?id=681578 but it is for redhat
>> kernel of series 2.6.
>>
>> 	Could be the same problem?
>
> It's definitely the same problem.
>
	The patch mentioned in that thread to solve the problem 
(https://bugzilla.redhat.com/attachment.cgi?id=570690&action=diff#a/fs/eventpoll.c_sec1) 
consist on adding:

static int path_count_inc(int nests)
{
	if (nests == 0)
		return 0;

	to the begining of path_count_inc function at fs/eventpoll.c in kernel 
source.

	I have checked that 3.2.0 kernel I have and this patch is already applied.

	Any other idea? Is there anybody running dovecot with a 
ubuntu/debian/vanilla (not redhat based) kernel? What kernel?


-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868887590
Fax: 868888337





More information about the dovecot mailing list