logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_deflate - Unable to init Zlib
Author
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Wed 15 Feb '12 10:28    Post subject: mod_deflate - Unable to init Zlib Reply with quote

Hello

I've Apache 2.2.21 linked with JBoss/Tomcat via 1.2.25 mod_jk module

Yestarday the site hosted on this instance was unavailable. I'm not sure what was the reason (if Apache or JBoss - still reviewing logs) but when i restared both site became available again.

The only errors found from error.log :

Code:

[Tue Feb 14 23:19:16 2012] [error] [client 31.192.54.99] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 178.134.177.136] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 93.177.177.235] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 77.92.254.226] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 94.240.245.237] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 94.240.245.237] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 94.137.163.147] unable to init Zlib: deflateInit2 returned -4: URL
[Tue Feb 14 23:19:16 2012] [error] [client 89.232.11.14] unable to init Zlib: deflateInit2 returned -4: URL



What could be the reason of Zlib error ?
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 610
Location: Milford, MA, USA

PostPosted: Thu 16 Feb '12 13:40    Post subject: Reply with quote

The return code: Z_MEM_ERROR (-4) means that there was insufficient memory to initialize Zlib.

Is it possible that your system had too little available memory at the time the errors occurred?

-tom-
Back to top


Reply to topic   Topic: mod_deflate - Unable to init Zlib View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules