[systemd-devel] nspawn file descriptor limit running without .service/nspawn file

Damian Ivanov damianatorrpm at gmail.com
Wed Jul 29 17:08:49 UTC 2020


Hello,

Hope you can help me with this.

How do I set unlimited file descriptors for a systemd-nspawn container
launcher via systemd-nspawn?

I saw this for the service file
LimitNOFILE=infinity

found it from here
https://github.com/systemd/systemd/issues/4997

Although I'm running it from cmd and
--property="LimitNOFILE=infinity" gives me an error.

Thanks for your help.

Regards,
Damian


More information about the systemd-devel mailing list