raksmart活动促销

分享

写回答

发帖

请问如何减少服务器內存的使用?

国外虚拟主机 国外虚拟主机 2997 人阅读 | 6 人回复

发表于 2007-7-17 23:15:17 | 显示全部楼层 |阅读模式

I reduced the max clients values a bit in the httpd.conf file. It now allows a maximum of 100 instead of 800. I noticed that this high value was causing your VPS to exceed its allowed memory limits. Unfortunately your system continues to use at or over the 512 mb allowed to a VPS. It seems that MySQL activity accounts for a large portion of the memory demand. Moving your account to another VPS system will not increase the speed or performance. You will need to make some changes to the account in order to reduce it's memory usage, or consider upgrading to a dedicated server which has more memory.


今天服务商发了这么封信过来,不知道有哪位兄弟能帮忙告诉一下有什么方法可以减少服务器内存的使用?

麻烦大家了,谢谢了!!

回答|共 6 个

大漠孤狼

发表于 2007-7-17 23:17:31 | 显示全部楼层

可能是 程序问题吧

老狼

发表于 2007-7-17 23:24:25 | 显示全部楼层

程序问题?

我使用的是dz4.1的版本,是否跟这个有关系呢?

大漠孤狼

发表于 2007-7-17 23:30:14 | 显示全部楼层

DZ程序占用内存不多,查看一下设置
还有是否用了很多插件或者是模板,查一下是否有问题
RAKSmart

老狼

发表于 2007-7-17 23:41:05 | 显示全部楼层

插件我只用了3-4个,不知道哪些设置可以减少内存的使用呢~

fleamas

发表于 2007-7-18 15:29:27 | 显示全部楼层

请问DZ和PW 比较起来 是dz更节省资源吗?

[ 本帖最后由 fleamas 于 2007-7-18 03:30 PM 编辑 ]

大漠孤狼

发表于 2007-7-18 15:50:51 | 显示全部楼层

一般人认为PW占内存多。

dz的消耗资源多的功能都有说明,对照说明设置一下。还有插件之类的如果优化不好的可能会占用很多资源
您需要登录后才可以回帖 登录 | 注册

本版积分规则