nicolasff/phpredis — Issue #77: MSET causes infinit and 100% CPU usage
Author: zim32
Created: 2011-11-07 21:12:34+00:00
State: open

This code from php-cli causes infinit and 100% CPU usage of php process.

-------------------------------------------
connect('127.0.0.1', 6379);

$insert = array();
for($i=0; $i<100000; $i++){
$insert['key'.$i] = 'foo'.$i;
}

$start = microtime(true);

$redis->mset($insert);

$end = microtime(true);
var_dump($end-$start);
$redis->close();