[systemd-devel] PrivateNetwork=yes is memory costly

Lennart Poettering lennart at poettering.net
Thu Mar 10 13:52:38 UTC 2022


On Do, 10.03.22 11:50, Christopher Wong (Christopher.Wong at axis.com) wrote:

> Hi Lennart,
>
>
> It is definitely a functionality we want to use. However, the memory came as an unexpected side effect. Since we are not only enabling this for one single service, instead we are applying it globally for all services.
>
> Now due to this huge memory consumption we are trying to put
> everything into the same namespace using
> JoinsNamespaceOf=<some-service>. It seems to consume less memory.

This means they will still be isolated from the network, but no longer
from each other.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list