On Wed, May 31, 2017 at 08:27:33AM -0600, Kevin Fenzi wrote:
> Greetings.
>
> Due to issues with slow storage recently we have seen kojipkgs spike in
> load and be slow to return packages to download. This makes varnish
> return a 503 back to the build or compose and causes them to fail.
>
> We are trying to sort out the storage issue, but in the mean time I
> would like to increase the timeouts on varnish so it hopefully doesn't
> hit this as much.
>
> +1s?
>
> diff --git a/roles/varnish/templates/kojipkgs.vcl.j2
> b/roles/varnish/templates/kojipkgs.vcl.j2
> index c3f7d51..66a8e9d 100644
> --- a/roles/varnish/templates/kojipkgs.vcl.j2
> +++ b/roles/varnish/templates/kojipkgs.vcl.j2
> @@ -25,10 +25,11 @@ acl purge {
> backend localapache {
> .host = "127.0.0.1";
> .port = "8080";
> + .first_byte_timeout = 60s;
> .probe = {
> .url = "/";
> .interval = 5s;
> - .timeout = 1s;
> + .timeout = 5s;
> .window = 5;
> .threshold = 3; }
> }+1 for me Pierre
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list -- [email protected] To unsubscribe send an email to [email protected]
