开发者

Memcached is crashing a lot. Why?

I am us开发者_JAVA技巧ing memcached and it seems to be crashing a lot lately. Sometimes a deploy can cause it to crash on ActionController::Base.cache_store.clear and sometimes it happens out of nowhere.

How can I get to the root cause of this? Does it have it's own log somewhere?

How can I make it more robust? Our site relies heavily on it and it going down brings the site down too. (We obviously need to figure out how to make our app still operate without it)

Any recommendations?


  1. Check the config files where the stdio/stderror goes
  2. Check the debug messages verbosity. Put it on max available.
  3. What is the memory limit/memory segment sizes you use (again, in the config). make sure they are not too small.


If memcached is crashing a lot, it's likely because you're using bad tools. Is this CentOS perhaps? libevent 1.1 or similarly ancient version?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜