Open2

apt-cacher-ngの設定

Toru3Toru3

file open limitの変更

sudo systemctl edit apt-cacher-ng.service で以下を書く。soft:hardの形式。

/etc/systemd/system/apt-cacher-ng.service.d/override.conf
[Service]
LimitNOFILE=65536:524288
$ sudo systemctl restart apt-cacher-ng.service
$ sudo grep open /proc/$(pgrep apt-cacher-ng)/limits
Max open files            65536                524288               files