user www-data;
worker_processes auto;
worker_cpu_affinity auto;
-worker_rlimit_nofile 65536;
+worker_rlimit_nofile 98304;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
description "Squid caching proxy"
after ["network.target", "nss-lookup.target"]
type "forking"
- limit_nofile 65536
+ limit_nofile 98304
exec_start_pre "/usr/sbin/squid -N -z"
exec_start "/usr/sbin/squid -Y"
exec_reload "/usr/sbin/squid -k reconfigure"
#FIXME - configurable
cache_mem <%= node[:squid][:cache_mem] %>
-max_filedescriptors 65536
+max_filedescriptors 98304
#used by squidclient / munin
http_port 3128