We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code hangs and causes high CPU usage.
$memcached = new Memcached(); $memcached->setOption(Memcached::OPT_NO_BLOCK, true); $memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true); $memcached->addServer('127.0.0.1', 11211, 100); print_r($memcached->getStats());
I'm using: PHP: 5.6.29 memcached: 2.2.0 libmemcached: 1.0.18
The text was updated successfully, but these errors were encountered:
Confirmed this still fails with php-memcached 3.0.3 and PHP 7.1. The OPT_NO_BLOCK setting is what triggers the problem. Thanks for reporting this!
OPT_NO_BLOCK
Note that I might not backport a fix to the 2.x series for PHP 5.x, time permitting.
Sorry, something went wrong.
Just ran into this using Symfony 3.3 Cache Component which sets OPT_NO_BLOCK by default
e0ccf87
No branches or pull requests
The following code hangs and causes high CPU usage.
I'm using:
PHP: 5.6.29
memcached: 2.2.0
libmemcached: 1.0.18
The text was updated successfully, but these errors were encountered: