[systemd-devel] socket activation systemd holding a reference to an accepted socket
Andrei Borzenkov
arvidjaar at gmail.com
Thu Feb 18 06:59:32 UTC 2016
On Thu, Feb 18, 2016 at 4:44 AM, Ben Woodard <woodard at redhat.com> wrote:
> Is it intentional that systemd holds a reference to a socket it has just accepted even though it just handed the open socket over to a socket.activated service that it has just started.
yes.
>
> For example given the following unit files:
>
> /etc/systemd/system/test.socket:
> [Unit]
> Description=test service
>
> [Socket]
> ListenStream=804
> Accept=yes
>
systemd continues to listen for new requests on this socket. Each
request will spawn new service instance.
More information about the systemd-devel
mailing list