problems with PHP and memcached
DJ Matlock
jmat@shutdown.net
Mon, 7 Jun 2004 20:29:55 -0400
This is a multi-part message in MIME format.
--------------Boundary-00=_W1SY40MWKGMMYJ0CCJD0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hate to break it to you, but that error doesn't have anything to do with the
memcached client.
First off, make sure your server has enough memory and swap; if that's
okay...
There's something funky with your PHP installation. Make sure you have the
latest version of Apache, PHP (4.3.7) and the latest zlib libraries
installed, then rebuild all of them, starting with zlib, then Apache, then
PHP.
I would strongly recommend thinking about dropping the PHP-script clients
and moving to the PECL PHP client -- it's actually a PHP module that
compiles as a module into PHP -- it's a lot faster, and much less buggy.
The two PHP-script clients were never really finished and both seem to have
quite a few weird bugs... And both authors seem to have dropped off the
planet.
Just run 'pear install -f memcache', and your system will automagically
download, compile, and install it. Then you just need to add
'extension=memcache.so' into your php.ini.
-----Original Message-----
From: memcached-admin@lists.danga.com
[mailto:memcached-admin@lists.danga.com] On Behalf Of Steve Simitzis
Sent: Monday, June 07, 2004 6:54 PM
To: memcached@lists.danga.com
Subject: problems with PHP and memcached
i'm getting a ton of these in my apache error log today. anyone ever
have this problem?
FATAL: erealloc(): Unable to allocate -1638039552 bytes
FATAL: erealloc(): Unable to allocate -1638039552 bytes
FATAL: erealloc(): Unable to allocate -1638039552 bytes
[Mon Jun 7 15:50:07 2004] [error] PHP Warning: gzuncompress(): buffer
error in /www/s/php_include/lib/memcached.inc on line 833
[Mon Jun 7 15:50:11 2004] [error] PHP Warning: gzuncompress(): buffer
error in /www/s/php_include/lib/memcached.inc on line 833
i'm running the latest memcached with the PHP API written by ryan dean.
(i believe it's called "memcached-client-php-0.1.2").
--
steve simitzis : /sim' - i - jees/
pala : saturn5 productions
www.steve.org : 415.282.9979
hath the daemon spawn no fire?
--------------Boundary-00=_W1SY40MWKGMMYJ0CCJD0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
<html><body><pre>Hate to break it to you, but that error doesn't have anything to do with the
memcached client.
First off, make sure your server has enough memory and swap; if that's
okay...
There's something funky with your PHP installation. Make sure you have the
latest version of Apache, PHP (4.3.7) and the latest zlib libraries
installed, then rebuild all of them, starting with zlib, then Apache, then
PHP.
I would strongly recommend thinking about dropping the PHP-script clients
and moving to the PECL PHP client -- it's actually a PHP module that
compiles as a module into PHP -- it's a lot faster, and much less buggy.
The two PHP-script clients were never really finished and both seem to have
quite a few weird bugs... And both authors seem to have dropped off the
planet.
Just run 'pear install -f memcache', and your system will automagically
download, compile, and install it. Then you just need to add
'extension=memcache.so' into your php.ini.
-----Original Message-----
From: memcached-admin@lists.danga.com
[mailto:memcached-admin@lists.danga.com] On Behalf Of Steve Simitzis
Sent: Monday, June 07, 2004 6:54 PM
To: memcached@lists.danga.com
Subject: problems with PHP and memcached
i'm getting a ton of these in my apache error log today. anyone ever
have this problem?
FATAL: erealloc(): Unable to allocate -1638039552 bytes
FATAL: erealloc(): Unable to allocate -1638039552 bytes
FATAL: erealloc(): Unable to allocate -1638039552 bytes
[Mon Jun 7 15:50:07 2004] [error] PHP Warning: gzuncompress(): buffer
error in /www/s/php_include/lib/memcached.inc on line 833
[Mon Jun 7 15:50:11 2004] [error] PHP Warning: gzuncompress(): buffer
error in /www/s/php_include/lib/memcached.inc on line 833
i'm running the latest memcached with the PHP API written by ryan dean.
(i believe it's called "memcached-client-php-0.1.2").
--
steve simitzis : /sim' - i - jees/
pala : saturn5 productions
www.steve.org : 415.282.9979
hath the daemon spawn no fire?
</pre><br><img src="http://mail.didtheyreadit.com/index.php/worker?code=23d912cc40b57f40b919636c7601e769" width="1" height="1" /></body></html>
--------------Boundary-00=_W1SY40MWKGMMYJ0CCJD0--