Memcached使用太多内存的方式

时间:2015-10-13 18:10:06

标签: php mysql memcached ram phpfastcache

FastqGeneralIterator

free -m
             total       used       free     shared    buffers     cached
Mem:         24028      23636        392          0        345       8104
-/+ buffers/cache:      15186       8842
Swap:         2015        852       1163

我最近安装了memcached来解决高CPU使用率,因为它一直为每个查询调用db。现在看来我有一个记忆问题。

我总共有24gb ram仍然不够。我只为memcache分配了64mb,但它超过了限制。我可以做任何检查或修复吗?

0 个答案:

没有答案