-
Notifications
You must be signed in to change notification settings - Fork 327
Problem with new version memcached-1.4.24 #203
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I came here to report the same thing. This bug should be be changed from "Problem with new version memcached-1.4.24" to "getAllKeys() fails with result code 9" as it's more descriptive and will help the developer categorize things better. I'm running PHP 7.0.5 and php-memcached compiled from git two months ago and I'm getting the same error.
|
Same here.. Error: 9 - CLIENT ERROR PHP Version 7.0.4-7ubuntu2 (16.04 LTS, memcached 1.4.25) |
Same problem here. If anyone has a workaround other than going to an older version of memcached please post. |
Still an issue on memcached 1.4.33. Causes major issues for us. |
This is actually a bug in libmemcached: https://bugs.launchpad.net/libmemcached/+bug/1534062 |
Oh yes that bug, took quite some time to find that issue. If everybody can mark that issue as "this affects me" (top left) then I hope I will finally get a reply on it! |
Given the last release of libmemcached was two years ago, I'm not holding out much hope I admit :/ I've just proposed an alternate fix route, but I've not written c for many years so I'm unlikely to e able to work on this myself. |
Well yes, I noticed that already when submitting that bug :p Still hoping that someday it will be fixed, for now using 1.4.22 just works fine for us. |
Good find! We should be able to work around this in the client code php-memcached. |
This causes major issues for us too. |
@sodabrew , are you php-memcached core developer? |
Yes, I'm a member of this repo. Sorry for the curt note, here's a longer explanation: A quick read of the libmemcached code suggests that the |
Great! thank you very much for the quick reply and explanation of the possible cause for this issue. |
Ah great, I've only reported it at libmemcached, never thought of reporting it here :) But thanks! |
Hi people, |
@comensee Yes, this is the most recent status: #203 (comment) |
Hi Aaron, have you been able to fix it? last comment from Nov 2016 is unclear about if its fixed or not. We cant use memcached 1.4.24+ for more than one year, sadly AWS and others do not allow versions < 1.4.24 anymore so we cant use memcached anymore. Also ubuntu 16.04 is on memcached 1.4.25 so the php module wont work. regards |
I haven't started work on this issue yet. "Soon" - I'm putting together some important fixes for the next minor release already! |
still an issue on debian version php-memcached (3.0.1+2.2.0-1) |
This isn't fixed until 3.0.3. |
[correction] it does appear to work in 3.0.1 |
I have installed memcached ,php-pecl-memcached and libmemcached.
1.memcached (1.4.24)
2.php5.5.30 , php-pecl-memcached (2.2.0)
3.libmemcached(1.0.18)
I try with php script test.php
addServer('127.0.0.1',11211); $stats = $mc->getAllKeys(); echo "Return code:", $mc->getResultCode()."\n"; echo "Retucn Message:", $mc->getResultMessage () ."\n"; print_r ($stats); ?>Return code:9
Retucn Message:CLIENT ERROR
I look the log on memcached server log
<36 stats cachedump 57 0
<36 stats cachedump 58 0
<36 stats cachedump 59 0
<36 stats cachedump 60 0
<36 stats cachedump 61 0
<36 stats cachedump 62 0
<36 stats cachedump 63 0
I change to memcached version 1.4.15 ,and try php script test.php
Return code:0
Retucn Message:SUCCESS
Array
(
[0] => qinyao
[1] => andy
)
The text was updated successfully, but these errors were encountered: