Just in case anyone else has this problem, or if anyone would like to comment
on this, here's the solution I've found.
Running '/etc/init.d/squid restart' from cron (setting it up in crontab) does
not honor ulimits.
Configuring /etc/crontab with something like 'bash -l /etc/init.d/squid
restar
Hey Vieri,
FD and other limits are a tricky thing in gentoo and couple other systems.
In ubuntu for example to apply a ulimit for squid what they did is add a ulimit
command at the beginning of the init script.
Ie 'ulimit -hn 65535;ulimit -sn 65535'
In other init or startup systems like systemd
On Saturday, October 31, 2020, 4:08:23 PM GMT+1, Amos Jeffries
wrote:
>> However, I set the following directive in squid.conf:
>>
>> max_filedescriptors 65536
>>
> Are you using systemd, SysV or another init ?
I'm using SysV on Gentoo Linux.
> It doesn't seem to be honored here unless I s