Page MenuHomePhabricator

Warning: could not unserialize value, no igbinary support
Closed, ResolvedPublicPRODUCTION ERROR

Description

Nov 15 08:34:49 mw1022: #012Warning: could not unserialize value, no igbinary support
Nov 15 08:40:42 mw1053: #012Warning: could not unserialize value, no igbinary support
Nov 15 11:34:08 mw1028: #012Warning: could not unserialize value, no igbinary support
Nov 15 11:36:05 mw1024: #012Warning: could not unserialize value, no igbinary support
Nov 15 12:25:31 mw1026: #012Warning: could not unserialize value, no igbinary support
Nov 15 13:03:15 mw1026: #012Warning: could not unserialize value, no igbinary support


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56596
https://bugzilla.wikimedia.org/show_bug.cgi?id=61227

Details

Reference
bz73467

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:46 AM
bzimport set Reference to bz73467.
bzimport added a subscriber: Unknown Object (MLST).
Krenair subscribed.

Might be an HHVM thing.

krenair@tin:~$ php -a
Interactive shell

php > var_dump( Memcached::HAVE_IGBINARY );
int(1)
krenair@mw1059:~$ php -a
Welcome to HipHop Debugger!
Type "help" or "?" for a complete list of commands.

Note: no server specified, debugging local scripts only.
If you want to connect to a server, launch with "-h" or use:
  [m]achine [c]onnect <servername>

hphpd> var_dump( Memcached::HAVE_IGBINARY );
var_dump( Memcached::HAVE_IGBINARY );
bool(false)

I guess we need to find out which keys are stored in that format.

$ tail -250000 /a/mw-log/hhvm.log|grep 'igbinary'
Feb 17 14:14:18 mw1161:  #012Warning: could not unserialize value, no igbinary support
Feb 17 14:54:01 mw1088:  #012Warning: could not unserialize value, no igbinary support
Feb 17 15:45:28 mw1247:  #012Warning: could not unserialize value, no igbinary support
Feb 17 16:11:23 mw1238:  #012Warning: could not unserialize value, no igbinary support
Feb 17 16:38:58 mw1032:  #012Warning: could not unserialize value, no igbinary support
Feb 17 17:05:10 mw1239:  #012Warning: could not unserialize value, no igbinary support
Feb 17 17:37:39 mw1018:  #012Warning: could not unserialize value, no igbinary support

We can't just live hack in something like:

		set_error_handler( function ( $errno, $errstr, $errfile, $errline, $errcontext ) {
			wfOneOfTheLoggingFunctions( "memc->get($key) caused warning in Memcached::get: $errstr" );
		}, E_WARNING );
		$result = $this->client->get( $this->encodeKey( $key ), null, $casToken );
		restore_error_handler();

to MemcachedPeclBagOStuff::get, can we? Would that even work?

Aklapper subscribed.
hashar claimed this task.
hashar subscribed.

Apparently we migrated the values and the old ones have expired T63227.

I can not find any occurrence of 'igbinary' in logstash logs for the last 7 days. So that seems fixed.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM