diff --git a/roles/kojipkgs/files/squid.conf b/roles/kojipkgs/files/squid.conf index 49ca56cd98..7fa86c708f 100644 --- a/roles/kojipkgs/files/squid.conf +++ b/roles/kojipkgs/files/squid.conf @@ -5,7 +5,7 @@ cache_peer 127.0.0.1 parent 8080 0 no-query originserver name=kojipkgs cache_swap_low 98 cache_swap_high 99 -cache_mem 6 GB +cache_mem 32 GB maximum_object_size 200 MB minimum_object_size 0 KB cache_replacement_policy heap LFUDA @@ -94,13 +94,14 @@ coredump_dir /var/spool/squid pid_filename /var/run/squid/squid.pid # Run in smp mode with 8 workers -workers 8 +# smp mode seems to cause problems with partial downloads and hangs. +#workers 8 # In smp mode you have to specify per worker cache dirs # Also you have to manually run squid -z -F -f /etc/squid/squid.conf # to create these dirs. -if ${process_number} = 9 - # nothing -else - cache_dir ufs /var/spool/squid/${process_number} 10000 16 256 -endif +#if ${process_number} = 9 +# # nothing +#else +# cache_dir ufs /var/spool/squid/${process_number} 10000 16 256 +#endif