diff options
author | Emiel Wiedijk | 2018-02-24 11:53:52 +0100 |
---|---|---|
committer | Emiel Wiedijk | 2018-02-24 11:53:52 +0100 |
commit | 12a1fec39186eb8b1d8672f21bf04e0704d94a48 (patch) | |
tree | 955700fe6f2f08b8f65aaeb1e9c024bec8c256cd /lxd.service | |
parent | 914ed1a62c07f238983e9771c84c3e1630cbc060 (diff) | |
download | aur-12a1fec39186eb8b1d8672f21bf04e0704d94a48.tar.gz |
lxd - update file/process limits
The lxd package currently uses, the default file descriptor limit
(1024). This reduce the usefullness of this package if users want
to run larger containers. The Arch Linux wiki suggests to remove
this limits. The ubuntu package also ships with much higher limits,
than the defaults. I updated this package to match the Ubuntu
defaults.
Diffstat (limited to 'lxd.service')
-rw-r--r-- | lxd.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lxd.service b/lxd.service index 771fe340048f..b4915b488642 100644 --- a/lxd.service +++ b/lxd.service @@ -6,6 +6,9 @@ After=network.target Type=simple ExecStart=/usr/bin/lxd --group lxd KillMode=process +LimitNOFILE=1048576 +LimitNPROC=infinity +TasksMax=infinity [Install] WantedBy=multi-user.target |