ERROR _listen_event:accept:too many open files

83 views
Skip to first unread message

spellen

unread,
Dec 22, 2009, 1:47:02 AM12/22/09
to gearman, slko...@gmail.com
In log gearmand.log I have error:
ERROR _listen_event:accept:too many open files
what is it?

I can`t connect to gearmand server.

Eric Day

unread,
Dec 22, 2009, 8:04:35 PM12/22/09
to gea...@googlegroups.com, slko...@gmail.com
You need to increase the # of file descriptors allowed for the process,
you have too many connections. You can do this in the C gearmand with:

-f, --file-descriptors=FDS Number of file descriptors to allow for the process
(total connections will be slightly less). Default
is max allowed for user.

You may need to change OS limits for the user you are running as to bump it.

-Eric

John Ewart

unread,
Dec 22, 2009, 11:11:19 PM12/22/09
to gea...@googlegroups.com, slko...@gmail.com
As a helpful hint, in case the next question is "how do I do that?" -- A few common ways to alter the maximum number of open files system wide on Linux or UNIX-like systems is to use ulimit, sysctl, or via files living in procfs/sysfs.

-John

Reply all
Reply to author
Forward
0 new messages