Re: nspawn file descriptor limit running without .service/nspawn file

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

 



On Mi, 29.07.20 20:08, Damian Ivanov (damianatorrpm@xxxxxxxxx) wrote:

> 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.
>

Use

    systemd-nspawn --rlimit=RLIMIT_NOFILE=8192:16384

You get the idea.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
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