Hello,
I have encountered Debian bug 934208:
2022/07/28 16:40:53 kid1| With 1024 file descriptors available
2022/07/29 06:50:18 kid1| WARNING! Your cache is running out of filedescriptors
according to the bug report:
"Under systemd the default is not to have any limitation at all."
which seems not to be true, but:
Unfortunately there are still some bugs that needs to be straightened
out upstream for Squid to use the --with-filedescriptors value when
there is *no* specific upper limit provided by the OS.
limits when I log in (ssh or console) are 1024(soft) and 1048576 (hard) and
yet squid starts with 1024 FDs.
I have configured:
# cat /etc/systemd/system/squid.service.d/override.conf
[Service]
LimitNOFILE=65536
and after reloading systemd:
# systemctl daemon-reload
and restart squid it seems to work properly:
2022/08/02 15:52:28 kid1| With 65536 file descriptors available
does anyone encounter this bug?
How do you fix it?
--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users