Open2
apt-cacher-ngの設定
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
HTTPSはスルー
/etc/apt-cacher-ng/acng.conf
PassThroughPattern: ^(.*):443$