🤖
apt-cacher-ngの設定
HTTPSを除外
/etc/apt-cacher-ng/acng.conf
PassThroughPattern: ^(.*):443$
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
Discussion