libev: notify only one process when multiple processes are listening socket

Alex Leone acleone at
Tue Jul 16 04:57:25 CEST 2013


On 3.9+ kernels SO_REUSEPORT will load balance nicely:
On Jul 15, 2013 5:19 PM, "trafdev" <trafdev at> wrote:

> Hello.
> There are N processes listening same socket and subscribed to libev
> notifications.
> N-1 of them getting "resource temporaly unavailable (eagain) while
> accepting incoming connection, one wins and handles connection.
> Is it possible to get notification on the socket descriptor only in one
> process and not waste resources of others?
> ______________________________**_________________
> libev mailing list
> libev at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the libev mailing list