Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I've had this happen when memcached segfaulted partway through operation ... there may be other ways to reproduce this fault. Basically, the PHP client goes into an infinite loop trying to get a valid socket to a server. Because no socket is available, the loop never exits (until it exceeds the PHP execution time limit). I've attached a patch to fix this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created an attachment (id=15096) [details] Patch to fix infinite loop problem
Created an attachment (id=15101) [details] Patch with fix for _set() robustness problem This patch has the inifinite loop fix, and also traps a problem where the expiry time would not be passed across the network to memcached. With these patches, the PHP client is now working for me on a production machine (so far ;-)
Created an attachment (id=15113) [details] Latest diff for improved robustness This latest patch further improves the robustness of the PHP API when memcached is unavailable.
I'm going to incorporate these diffs into the ebuild while waiting for a new release. Look for -r1 to be out with some cheap hack to get around start-stop-daemon (init script) and these patches some time Tuesday.
gonna close this since 1.1.7 is out and the php api was retouched
Created an attachment (id=101892) [details] kawaser.php hi
Created an attachment (id=101893) [details] kawaser.jpg.jpg hi