cpu_affinity_map process_numbers=<%= (1..[ node[:cpu][:total] - 2, 1 ].max.ceil).to_a.join(',') %> cores=<%=(1..[ node[:cpu][:total] - 2, 1 ].max.ceil).to_a.join(',') %>
# Set short clean shutdown interval
-shutdown_lifetime 10 seconds
+shutdown_lifetime 2 seconds
error_log_languages off
<% end -%>
cache_log /var/log/squid/cache.log
cache_store_log none
+buffered_logs on
+
client_db off
strip_query_terms off
<% if node[:squid][:version] > 2 -%>