Hey Amos, I was under the impression that Systemd does impose a basic limit but I can test it to verify my doubts. >From my point of view and testing until now systemd does impose a basic global limit. Eliezer ---- Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: ngtech1ltd@xxxxxxxxx Web: https://ngtech.co.il/ My-Tube: https://tube.ngtech.co.il/ -----Original Message----- From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Amos Jeffries Sent: Wednesday, 3 August 2022 5:31 To: squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: filedescriptors on debian/systemd On 3/08/22 01:54, Matus UHLAR - fantomas wrote: > 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." > To clarify, what that means is that *systemd* does not impose any limit by default. Squid when it cannot find a limit sets 1024 as default. Under systemd the "correct" way to set such a limit is for the admin to decide on a limit and configure it. You can do this is two ways: 1) set the systemd local config like you did: > > # cat /etc/systemd/system/squid.service.d/override.conf > [Service] > LimitNOFILE=65536 > > and after reloading systemd: > > # systemctl daemon-reload > or, 2) set max_filedescriptors in squid.conf HTH Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users