Why systemd keeps references on passed sockets ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a service which is activated by a socket unit. When systemd
passes the (netlink) socket to my service it seems that it still keeps
a reference on the socket, at least ss(8) showed this.

Is this expected ? If yes can this be prevented ?

I'm asking because my service may not need the socket in some cases
hence it closes it but systemd keeps it open and the socket keeps
receiving messages and consuming memory for nothing.

Thank you.
-- 
Francis
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux