Re: [squid-users] filedescriptors on debian/systemd

2022-08-03 Thread Matus UHLAR - fantomas
squid-users On Behalf Of Amos Jeffries Sent: Wednesday, 3 August 2022 5:31 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] filedescriptors on debian/systemd On 3/08/22 01:54, Matus UHLAR - fantomas wrote: I have encountered Debian bug 934208: 2022/07/28 16:40:53 kid1| With 1024 fil

Re: [squid-users] filedescriptors on debian/systemd

2022-08-03 Thread Amos Jeffries
On 3/08/22 17:17, ngtech1ltd wrote: 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. Squid looks up the limit on startup. With systemd tha

Re: [squid-users] filedescriptors on debian/systemd

2022-08-02 Thread ngtech1ltd
gtech1...@gmail.com Web: https://ngtech.co.il/ My-Tube: https://tube.ngtech.co.il/ -Original Message- From: squid-users On Behalf Of Amos Jeffries Sent: Wednesday, 3 August 2022 5:31 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] filedescriptors on debian/systemd On 3/08

Re: [squid-users] filedescriptors on debian/systemd

2022-08-02 Thread Amos Jeffries
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

Re: [squid-users] filedescriptors on debian/systemd

2022-08-02 Thread Matus UHLAR - fantomas
On 02.08.22 17:21, ngtech1...@gmail.com wrote: What's the bug exactly? only 1k of fildescriptors by default. Even if hard limit is 1M (at least for login) debian sysvinit script has hack that sets 64k fd limit, systemd unit file doesn't have this hack. The design of systemd is to enforce

Re: [squid-users] filedescriptors on debian/systemd

2022-08-02 Thread ngtech1ltd
Hey, What's the bug exactly? The design of systemd is to enforce the FD limit. This is coming from the init 0 level of the design and due to this, squid cannot "patch" the kernel at runtime like any other process. The OS and systemd do not give any API to allow a request for"more FD". I assume tha