Nginx failed to use preallocated memory when upgrading to Fedora 41

Hi, I’m newly here, when I upgraded to Fedora 41, nginx print some errors like “gzip filter failed to use preallocated memory: 350336 of 336176 while sending to client”.
The version is nginx-1.26.2-1.fc41.x86_64, zlib-ng-2.2.3-1.fc41.x86_64.

Hello and welcome, @jerryxq!

It looks like it’s a known issue between zlib-ng [1] and nginx [2], and nginx has it as a milestone [3] for their upcoming 1.27.4 release.


  1. nginx: "gzip filter failed to use preallocated memory" alerts appeared in logs when using zlib-ng as drop-in replacement · Issue #811 · zlib-ng/zlib-ng · GitHub ↩︎

  2. "gzip filter failed to use preallocated memory" with current zlib-ng · Issue #263 · nginx/nginx · GitHub ↩︎

  3. nginx-1.27.4 Milestone · GitHub ↩︎

1 Like

Thanks, hope the new version coming.