systemd: Increase backlog for unix sockets

Use the default backlog size, SOMAXCONN (128), which is the same as for
the unix socket in module-protocol-native. If the backlog queue gets
full incoming connections will be closed before they can be accepted.
This causes connect() to fail with EAGAIN on the client side and since
the server socket is closed it will not be possible to use the client
socket further.
This commit is contained in:
Jonas Holmberg 2021-04-21 23:15:23 +02:00 committed by Wim Taymans
parent ad0d7ef9f2
commit 0ddfbc0f62
3 changed files with 0 additions and 3 deletions

View file

@ -3,7 +3,6 @@ Description=Multimedia System
[Socket]
Priority=6
Backlog=5
ListenStream=%t/pipewire/pipewire-0
SocketUser=pipewire
SocketGroup=pipewire

View file

@ -4,7 +4,6 @@ ConditionUser=!root
[Socket]
Priority=6
Backlog=5
ListenStream=%t/pulse/native
[Install]

View file

@ -3,7 +3,6 @@ Description=Multimedia System
[Socket]
Priority=6
Backlog=5
ListenStream=%t/pipewire-0
[Install]