Home > Backend Development > PHP Tutorial > 8GB RAM CENTOS6.2 服务器,memcached分配几多合理

8GB RAM CENTOS6.2 服务器,memcached分配几多合理

WBOY
Release: 2016-06-13 12:40:50
Original
921 people have browsed it

8GB RAM CENTOS6.2 服务器,memcached分配多少合理?
有一个服务器,8GB RAM 安装CENTOS6.2系统,
top一下内存信息,
mysql支持全文搜索,占掉大概1.5GB左右,
每个root(php)进程16-18MB,
每个apache(httpd)进程18-60MB(大部分在45MB)

每秒有17个cron程序需要运行,
同时通过google analytics观察,每秒峰值最高时可达20page流量。(日4.3W PG量)

现在服务器速度下降,想安装memcached。
求教前辈们,像我的这种情况,可以分配多少GB内存给memcached?
此外,本服务器最主要的任务都是通过mysql全文搜索(实时信息),memcached缓存时间设置多少合理?

谢谢。


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template