[Varnish] #1396: Assert error in VGZ_NewGzip(), cache_gzip.c line 209: Condition(Z_OK == i) not true.
Varnish
varnish-bugs at varnish-cache.org
Tue Jun 17 14:30:28 CEST 2014
#1396: Assert error in VGZ_NewGzip(), cache_gzip.c line 209: Condition(Z_OK == i)
not true.
----------------------+--------------------
Reporter: geoff | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 3.0.3
Severity: major | Resolution:
Keywords: gzip |
----------------------+--------------------
Comment (by geoff):
Just realized that there's no reliable way to reproduce this, since the
failure came from compression -- preparing a response with a gzipped body.
Very likely it was a low memory situation -- zlib couldn't get enough
memory to compress. To my knowledge it hasn't happened again at the site
since the incident reported on November 2013.
I still think that Varnish should recover more gracefully when that
happens, by sending a 503 error rather than crashing with an assertion. I
wouldn't mind working up a patch, but how would we test it?
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1396#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list