Welcome! Log In Create A New Profile

Advanced

Re: memcache buffer overflow?

May 18, 2009 06:06PM
Hi Anton,

many thanks for this. The problem is indeed that the PHP memcache client by default enables compression for large objects. When retrieving the memcache object from PHP everything appears fine, but nginx does not handle the compression. The feature can be disabled by setting the "minimum required saving" before compression to 100%:

$memcache->setCompressThreshold(0, 1);

I hope this will be helpful to anyone else with this problem and once again thanks to Anton for his prompt help!

Kind regards,

Batrick
Subject Author Posted

memcache buffer overflow?

batrick May 18, 2009 03:11PM

Re: memcache buffer overflow?

Anton Yuzhaninov May 18, 2009 05:29PM

Re: memcache buffer overflow?

batrick May 18, 2009 06:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready