[Varnish] #1175: -smalloc size limit failures does not increment the c_fail counter, but adds failed bytes to it
Varnish
varnish-bugs at varnish-cache.org
Tue Jul 24 14:26:14 CEST 2012
#1175: -smalloc size limit failures does not increment the c_fail counter, but
adds failed bytes to it
----------------------+-------------------
Reporter: martin | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 3.0.2
Severity: normal | Keywords:
----------------------+-------------------
When -smalloc fails to allocate memory due to max size limit, it will add
the number of bytes that failed to the c_fail counter for this storage
backend.
This is inconsistent with how -sfile works, and also how -smalloc behaves
when the malloc() call fails. These other places all increment c_fail by
one on errors.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1175>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list