Z_BUF_ERROR nginx 0.8.53

Maxim Dounin mdounin at mdounin.ru
Fri Nov 19 00:54:12 MSK 2010


Hello!

On Thu, Nov 18, 2010 at 11:32:51AM -0800, Roman Vasilyev wrote:

> I have a lot errors about
> *1281 deflate() failed: 2, -5 while reading upstream, .... blah...
> blah.... blah
> I've checked what -5 means and this is just empty buffer for deflate
> (Z_BUF_ERROR):

This shouldn't happen and indicate bug either in gzip module or 
somewhere before it.  You may want to focus on conditions why it 
happens, not how to handle this deflate() error.

Maxim Dounin



More information about the nginx mailing list