I am getting an error from squid
WARNING! Your cache is running out of filedescriptors
What should i do in my mac to prevent this error?
I think you can use something similar to:
To make it persistent edit /etc/sysctl.conf like this
Later method needs reboot or reload via sysctl.
You may also need to raise the ulimit settings for regular users: