I have installed
polipo-1.1.1 caching proxy on my OS X 10.11.4 with
brew install polipo --with-large-chunks
Sometimes opening URLs (this page for example) is failed with this error message:
504 Connect to apple.stackexchange.com:80 failed: Too many open files The following error occurred while trying to access https://apple.stackexchange.com/questions/114514/can-the-default-permissions-on-dev-disk-be-changed: 504 Connect to apple.stackexchange.com:80 failed: Too many open files Generated Sun, 22 May 2016 12:36:56 IRDT by Polipo on Hamids-MacBook-Pro.local:8123.
I have set up
~/.polipo file as configuration file with
socksProxyType parameters only.
The value of
ulimit -n is
/usr/local/var/cache/polipo I have 510 folders and total size of this folders is
Total number of files that are open with polipo with this command is
lsof -p $(pgrep polipo) | wc -l
Why this error is occurred and how can I prevent that?
Is there any configurations that I missed to set up?