FYI for any future souls that might run into this. The version of memcache and c based libmemcache library we had did not work nice together. We ended up using python-memcache approach and it seems to work fine now.
On Apr 23, 4:55 pm, Zagor <[email protected]> wrote: > I am getting an error message when using memcache with django + apache > under some load. When I test the server in isolation it works fine, > but as soon as it is exposed any load it fills the apache log with > error messages and revs the CPU to the max until I reboot. > > Here is the error from apache log: > > .... > [[email protected]] mcm_fetch_cmd():1176: memcache(4) protocol > error: Resource temporarily unavailable: server sent data for key not > in request > ... > [[email protected]] mcm_get_line():1542: memcache(4) protocol > error: no \r before \n > [[email protected]] mcm_get_line():1542: memcache(4) protocol > error: no \r before \n > [[email protected]] mcm_fetch_cmd():1154: memcache(4) protocol > error: protocol, expected a response > .... > > Does anyone have any advice or thoughts how to fix this? Google-ing > didn't yield and luck so far. > > Thanks > > PS: > Using memcache 1.2.8
