[Dovecot] auth: Error: net_accept() failed: Too many open files

boyd yang boyd.yang at gmail.com
Mon Dec 23 04:26:07 EET 2013


Hi All,


I got below errors when I do some 2000 users concurrency test against
dovecot 2.1.7.

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files

Dec 23 10:18:52 auth: Error: net_accept() failed: Too many open files


I seems the auth process become the bottleneck as there is only one auth
process.


service auth-worker {

  process_limit = 1000

}

service imap-login {

  process_min_avail = 48

  service_count = 0

}

service imap {

  process_limit = 10240

  process_min_avail = 8

}

I find that the auth process does not open too many files with lsof, and my
limit is very big(1000000).

How to fix this?
Thanks!


More information about the dovecot mailing list