Page MenuHomePhabricator

MemcachedPeclBagOStuff: Requires igbinary serialization, hhvm fatals
Closed, DeclinedPublic

Description

sudo -u apache /home/demon/dev/hhvm/hphp/hhvm/hhvm /usr/local/apache/common/multiversion/MWScript.php eval.php --wiki=testwiki

HipHop Fatal error: Uncaught exception 'MWException' with message 'MemcachedPeclBagOStuff: the igbinary extension is not available but igbinary serialization was requested.' in /usr/local/apache/common/php-1.23wmf2/includes/objectcache/MemcachedPeclBagOStuff.php:101
Stack trace:
#0 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(88): MemcachedPeclBagOStuff->construct()
#1 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(72): ObjectCache::newFromParams()
#2 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(44): ObjectCache::newFromId()
#3 /usr/local/apache/common/php-1.23wmf2/includes/GlobalFunctions.php(3958): ObjectCache::getInstance()
#4 /usr/local/apache/common/php-1.23wmf2/includes/Setup.php(504): wfGetMainCache()
#5 /usr/local/apache/common/php-1.23wmf2/maintenance/doMaintenance.php(106): include()
#6 /usr/local/apache/common/php-1.23wmf2/maintenance/commandLine.inc(58): include()
#7 /usr/local/apache/common/php-1.23wmf2/maintenance/eval.php(37): include()
#8 /usr/local/apache/common/multiversion/MWScript.php(97): include()
#9 {main}
MemcachedPeclBagOStuff: the igbinary extension is not available but igbinary serialization was requested.
Backtrace:
#0 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(88): MemcachedPeclBagOStuff->
construct(Array)
#1 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(72): ObjectCache::newFromParams(Array)
#2 /usr/local/apache/common/php-1.23wmf2/includes/objectcache/ObjectCache.php(44): ObjectCache::newFromId('memcached-pecl')
#3 /usr/local/apache/common/php-1.23wmf2/includes/GlobalFunctions.php(3958): ObjectCache::getInstance('memcached-pecl')
#4 /usr/local/apache/common/php-1.23wmf2/includes/Setup.php(504): wfGetMainCache()
#5 /usr/local/apache/common/php-1.23wmf2/maintenance/doMaintenance.php(106): include('/usr/local/apache/common/php-1.23wmf2/includes/Setup.php')
#6 /usr/local/apache/common/php-1.23wmf2/maintenance/commandLine.inc(58): include('/usr/local/apache/common/php-1.23wmf2/maintenance/doMaintenance.php')
#7 /usr/local/apache/common/php-1.23wmf2/maintenance/eval.php(37): include('/usr/local/apache/common/php-1.23wmf2/maintenance/commandLine.inc')
#8 /usr/local/apache/common/multiversion/MWScript.php(97): include('/usr/local/apache/common/php-1.23wmf2/maintenance/eval.php')
#9 {main}


Version: 1.23.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=73467

Details

Reference
bz56596

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:38 AM
bzimport set Reference to bz56596.
bzimport added a subscriber: Unknown Object (MLST).

This can be configured in LocalSettings using the 'serializer' param passed to the object cache factory. If set to "php" then it won't need igbinary.

(In reply to comment #1)

This can be configured in LocalSettings using the 'serializer' param passed
to
the object cache factory. If set to "php" then it won't need igbinary.

Yeah, and I can work around it locally. But I saw this on production ;-)

Change 95287 had a related patch set uploaded by Chad:
Don't explode when trying to use hhvm + caches

https://gerrit.wikimedia.org/r/95287

Change 95287 abandoned by Chad:
Don't explode when trying to use hhvm + caches

Reason:
Stupid.

https://gerrit.wikimedia.org/r/95287

[Using keyword instead of tracking bug for HipHop issues as requested in bug 40926 comment 5. Filter bugmail on this message.]

Some stuff is still expecting igbinary - T75467