In <
63C9BE23...@2rosenthals.com>, on 01/19/23
at 05:03 PM, Lewis G Rosenthal <
lgros...@2rosenthals.com> said:
Hi Lewis,
>[Thu Jan 19 12:29:36.975000 2023] [deflate:error] [pid 134:tid 11]
>[client xxx.xxx.xxx.xxx:xxxxx] AH01383: unable to init Zlib:
>deflateInit2 returned -4: URL /wp-includes/js/dist/vendor/react.min.js,
>referer:
https://www.domain.com/page/
>mod_deflate.dll seems to have everything it wants to load, so there's no
>issue there.
-4 is Z_MEM_ERROR, so we have to suspect you are OOM or there is something
wrong with that parameters passed to deflateInit2_ which is near
deflate.c:216
int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel,
strategy,
in the zlib sources. The call is at
modules\filters\mod_deflate.c:762
zRC = deflateInit2(&ctx->stream, c->compressionlevel,
Z_DEFLATED,
c->windowSize, c->memlevel,
Z_DEFAULT_STRATEGY);
To figure out what is going on we might need to tweak
modules\filters\mod_deflate.c:768
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01383)
"unable to init Zlib: "
"deflateInit2 returned %d: URL %s",
zRC, r->uri);
to report the parameters passed to deflateInit2. However a quick scan of
the code implied that parameters that matter are constants.
The buffers used by zlib are not that large, so it's somewhat hard to
understand how you could be OOM.
I don't know which version of zlib Paul is building against, so we might
want to make sure it's current.
Steven
--
----------------------------------------------------------------------
"Steven Levine" <
ste...@earthlink.net> Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoae.com www.warpcave.com
----------------------------------------------------------------------