Re: apr_memcache operation timeouts

2012-10-17 Thread Jeff Trawick
On Wed, Oct 17, 2012 at 3:36 PM, Joshua Marantz wrote: > Is there a mechanism to time out individual operations? No, the socket connect timeout is hard-coded at 1 second and the socket I/O timeout is disabled. Bugzilla bug https://issues.apache.org/bugzilla/show_bug.cgi?id=51065 has a patch, tho

apr_memcache operation timeouts

2012-10-17 Thread Joshua Marantz
Is there a mechanism to time out individual operations? If memcached freezes, then it appears my calls to 'get' will block until memcached wakes up. Is there any way to set a timeout for that call? I can repro this in my unit tests by sending a SIGSTOP to memcached before doing a 'get'? Here ar