[systemd-devel] [PATCH] core/socket: we only want one event on standard sockets

Lennart Poettering lennart at poettering.net
Tue Nov 26 17:47:56 PST 2013


On Wed, 27.11.13 07:48, David Timothy Strauss (david at davidstrauss.net) wrote:

> 
> On Wed, Nov 27, 2013 at 6:23 AM, Shawn Landden <shawn at churchofgit.com> wrote:
> > I was worried that the fact that we never accept() the socket when using
> > distribute (now I am convinced we shouldn't use it otherwise)
> 
> I'm not sure what you mean here. Distribute-style functionality is
> absolutely useful with Accept=true (to cap the number of simultaneous
> connections) as well as Accept=false (to allow running of a process
> pool of self-accepting, long-running workers).

We already enforce a connection limit (MaxConnections=) for Accept=yes
sockets... We did this since day one.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list