Mailing List Archive

Add nuke_limited counter(Number of times reached nuke_limit.)
Hi,

I got a strange error the other day.
Status code is 200, but body was incomplete.
This error occurred because nuke_limit was reached.(It does not 503,
because beresp.do_stream=true is default)
I think this error is hard to notice.
I would like to add a new counter to make notice it.

https://github.com/xcir/varnish-cache/commit/3a1f45d05dcdc0d22a71148c25ae2dedcf93e6ea

I think it can see that need to increase nuke_limit by this counter.
Can I get your opinion?

Regards,
--
Shohei Tanaka(@xcir)
http://blog.xcir.net/ (JP)
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Add nuke_limited counter(Number of times reached nuke_limit.) [ In reply to ]
On Fri, Feb 16, 2018 at 7:42 AM, kokoniimasu <kokoniimasu@gmail.com> wrote:
> Hi,
>
> I got a strange error the other day.
> Status code is 200, but body was incomplete.
> This error occurred because nuke_limit was reached.(It does not 503,
> because beresp.do_stream=true is default)
> I think this error is hard to notice.
> I would like to add a new counter to make notice it.
>
> https://github.com/xcir/varnish-cache/commit/3a1f45d05dcdc0d22a71148c25ae2dedcf93e6ea
>
> I think it can see that need to increase nuke_limit by this counter.
> Can I get your opinion?

Hi,

Sounds like a great idea to me, the patch looks good too!

Dridi
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Add nuke_limited counter(Number of times reached nuke_limit.) [ In reply to ]
Hi, Dridi.

Thank you for your comment!
I will create pull-request.

2018-02-16 17:21 GMT+09:00 Dridi Boukelmoune <dridi@varni.sh>:
> On Fri, Feb 16, 2018 at 7:42 AM, kokoniimasu <kokoniimasu@gmail.com> wrote:
>> Hi,
>>
>> I got a strange error the other day.
>> Status code is 200, but body was incomplete.
>> This error occurred because nuke_limit was reached.(It does not 503,
>> because beresp.do_stream=true is default)
>> I think this error is hard to notice.
>> I would like to add a new counter to make notice it.
>>
>> https://github.com/xcir/varnish-cache/commit/3a1f45d05dcdc0d22a71148c25ae2dedcf93e6ea
>>
>> I think it can see that need to increase nuke_limit by this counter.
>> Can I get your opinion?
>
> Hi,
>
> Sounds like a great idea to me, the patch looks good too!
>
> Dridi
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Add nuke_limited counter(Number of times reached nuke_limit.) [ In reply to ]
On Fri, Feb 16, 2018 at 10:56 AM, kokoniimasu <kokoniimasu@gmail.com> wrote:
> Hi, Dridi.
>
> Thank you for your comment!
> I will create pull-request.

You may want to name the counter n_lru_limited or something similar to
be consistent with related counters.

Cheers
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc