Active
Project:
Cache Router
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2010 at 20:32 UTC
Updated:
13 Mar 2010 at 00:27 UTC
Using the memcache and php5-memcache versions provided by Karmic, the Memcache->delete command needs to have the timeout parameter passed as 0, otherwise it hangs while trying to lock.
Change:
function unlock() {
return $this->memcache->delete($this->lock, 0);
}
Comments
Comment #1
tjwallace commentedActually I believe the issue is bigger than this... When accessing a page that has not been cached, memcached shows continuous:
<32 add /tmp/cache_lock 0 0 1
>32 NOT_STORED
Until it either succeeds or you get the following error:
Failed to write, and not due to blocking: Connection reset by peer
<33 connection closed.
Comment #2
slantview commentedCan you show us your config please?