raksmart活动促销

分享

写回答

发帖

求助,关于说cpu超限制的问题!

国外虚拟主机 国外虚拟主机 4024 人阅读 | 19 人回复

发表于 2009-1-12 16:14:32 | 显示全部楼层 |阅读模式

这是LP来信说的:

cpu 2.03 memory 5.89 mysql 1.1 Top Process %CPU 7.0 /usr/bin/php /home/******/public_html/viewthread.php Top Process %CPU 6.0 /usr/bin/php /home/******/public_html/viewthread.php Top Process %CPU 5.0 /usr/bin/php /home/******/public_html/forumdisplay.php We have been forced to temporarily disable /home/******/public_html/viewthread.php and /home/******/public_html/forumdisplay.php by means of chmod 000 and chown root:root. Please let us know the steps you will follow to resolve this issue. We recommend reviewing / upgrading your script. Thank you ! Kind Regards, Margarit Mugurel Junior System Admin I - System Administrator Team Support and Assistance: Help Desk - https://support.lunarpages.com/ Membership Forum - http://www.lunarforums.com/ Tutorials - http://www.lunarpages.com/tutorials/ Phones: U.S. & International - 1-714-521-8150


请问下信中说的意思是那两个文件超cpu了吗,我的是论坛,那两个文件被lp改成000了。论坛所有版块进不去了。cpanl控制面板里也改不了那两个文件的权限。

从lp发的e-mail过来我根本看不出我的论坛是什么原因超出cpu限制了……

我应该怎么做才能让lp给我解除那两个文件的限制呢?论坛中只有一些附件的图片。附件占了300多兆吧。

我是否应该把附件删除了。再给lp发e-mail就可以了呢?

请求大家帮忙解答下,谢谢了!!!

回答|共 19 个

一路同行

发表于 2009-1-12 16:40:14 | 显示全部楼层

在cpanel面板的file manager的临时目录里有超资源的记录

playgo09

发表于 2009-1-14 02:36:09 | 显示全部楼层

谢谢版主,请问下进入file manager后具体在哪里可以找到资源超额的记录呢

一路同行

发表于 2009-1-14 09:02:13 | 显示全部楼层

在tmp目录下

playgo09

发表于 2009-1-14 13:57:09 | 显示全部楼层

感谢,我去试试看

playgo09

发表于 2009-1-15 21:29:40 | 显示全部楼层

我提交问题客服总是不接受的回复

我给客服提交问我具体怎么修改
lp客服回复是这样的
Hello, As i can see from your usage these 2 files ******/public_html/viewthread.php and ******/public_html/forumdisplay.php are consuming a lot of resources. Please update your forum scripts to the latest stable version and try to optimize your scripts. You may update manually or through Cpanel->Fantastico. Please proceed with your updates and let us know once done. We will be waiting for your reply. Thank you! If you have any more questions, please don't hesitate to ask us, we will be happy to answer them. Please feel free to contact us for further help. Thank you for contacting lunar pages support team. --- Gabriel Ichim Junior System Administrator 1 Phone: 1-714-521-8150(Canada & U.S)

请问在Cpanel里Cpanel->Fantastico这个是什么呀,让我在控制面板里修改这个?

一路同行

发表于 2009-1-16 09:58:47 | 显示全部楼层

他说viewthread.php,forumdisplay.php这两个文件消耗大量的资源,导致你账户资源超额,让你更新你的程序
你的论坛日IP多少?论坛占用资源比较厉害,优化一下吧

playgo09

发表于 2009-1-16 17:28:55 | 显示全部楼层

日ip应该一般在两,三千左右
请问下这两个文件是控制论坛什么部分的呢?

一路同行

发表于 2009-1-16 17:39:14 | 显示全部楼层

论坛占用资源厉害,日IP两三千可能会超资源,建议你升级到 VPS,或者优化你的论坛

playgo09

发表于 2009-1-16 17:46:11 | 显示全部楼层

请问下应该怎么优化才能减少这两个文件的占用呢。

我在后台优化中已经把改关的功能基本都关掉了,减少服务器占用资源。

还有300多兆的附件没有删除,是否应该把附件全删除了呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则