+1
Hopefully this will fix it
On Thu, Feb 26, 2015, 11:14 AM Tim Flink <tflink@xxxxxxxxxx> wrote:
On Thu, 26 Feb 2015 08:11:50 -0700
Kevin Fenzi <kevin@xxxxxxxxx> wrote:
> We have been having some persistent issues with kojipkgs01 lately.
>
> kojipkgs01 is our squid proxy in front of koji builds. It allows users
> and builders to get fast access to packages. (When it's working).
>
> Lately, it's been working fine at first, then in a few days or so it
> starts getting really slow. Downloads go from 25M/s to 200k/sec and
> sometimes things even just timeout.
>
> Restarting squid seems to fix this... for a few more days.
> There is never any errors on the box, i/o, load and everything is
> fine.
>
> I looked this morning a bunch at options and adjusted the memory cache
> down in case we were hitting some kind of issue with memory cache.
>
> I'd like +1's for that change, and also to solicit ideas for what we
> can do to fix this once and for all (if these changes don't do so).
>
> diff --git a/roles/kojipkgs/files/squid.conf
> b/roles/kojipkgs/files/squid.conf index b011143..a0d5312 100644
> --- a/roles/kojipkgs/files/squid.conf
> +++ b/roles/kojipkgs/files/squid.conf
> @@ -6,8 +6,8 @@ hierarchy_stoplist cgi-bin ?
>
> cache_swap_low 98
> cache_swap_high 99
> -cache_mem 50 GB
> -maximum_object_size 700 MB
> +cache_mem 10 GB
> +maximum_object_size 200 MB
> minimum_object_size 0 KB
> cache_replacement_policy heap LFUDA
> maximum_object_size_in_memory 100 MB
+1 from me as well, hopefully this'll fix things but as pingou said,
it's easy to revert if it ends up causing problems
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure