raksmart活动促销

分享

写回答

发帖

LP说我CPU超限

国外虚拟主机 国外虚拟主机 4210 人阅读 | 13 人回复

发表于 2009-10-14 08:43:36 | 显示全部楼层 |阅读模式

www.TutorYang.cn
完完全全的个人网站
每日IP也不过几十
不知道是什么导致CPU超限 有什么解决办法
昨天晚上去信质问LP ticket,到现在也还没有回复。

回答|共 13 个

一路同行

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

500错误不像是超资源,你在错误日志里看看,里面有记录

toioi

发表于 2009-10-14 10:06:16 | 显示全部楼层

麻烦斑竹给看下

Error Log

--------------------------------------------------------------------------------
Last 300 Error Log Messages in reverse order:
--------------------------------------------------------------------------------

[Tue Oct 13 19:04:53 2009] [error] [client 120.11.34.61] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:04:53 2009] [error] [client 120.11.34.61] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable
[Tue Oct 13 19:04:13 2009] [error] [client 221.234.121.5] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:04:13 2009] [error] [client 221.234.121.5] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable
[Tue Oct 13 19:04:13 2009] [error] [client 221.234.121.5] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:04:13 2009] [error] [client 221.234.121.5] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable
[Tue Oct 13 19:04:10 2009] [error] [client 221.234.121.5] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:04:10 2009] [error] [client 221.234.121.5] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable
[Tue Oct 13 19:04:09 2009] [error] [client 221.234.121.5] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:04:09 2009] [error] [client 221.234.121.5] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable
[Tue Oct 13 19:02:44 2009] [error] [client 221.234.121.5] File does not exist: /home/lpmem0/public_html/tutoryang/500.shtml
[Tue Oct 13 19:02:44 2009] [error] [client 221.234.121.5] Premature end of script headers: /home/lpmem0/public_html/tutoryang/index.php
SoftException in Application.cpp:243: File "/home/lpmem0/public_html/tutoryang/index.php" not readable

toioi

发表于 2009-10-14 10:07:24 | 显示全部楼层

这是LP停机的说法:

A technician responded to your ticket with:
Hi,

Recently your account was utilizing excessive resources and putting load on server, making it unstable. Details are as follows:


A detail of the problem is shown below as:


CPU:        4.34 %
Memory:     0.97 %
Mysql:      4.1 %

lpmem0        lpmember.com        4.34        0.97        4.1
Top Process        %CPU 19.0        /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
Top Process        %CPU 6.3        /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php.eu.rar]


lpmem0     537  0.1  0.1 28448 15836 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     663  0.1  0.1 28448 15796 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     664  0.1  0.1 28448 15796 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     688  0.1  0.1 28448 15788 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     728  0.1  0.1 28516 15788 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     751  0.2  0.1 28448 15776 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     752  0.1  0.1 28516 15844 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     882  0.2  0.1 28448 15856 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     889  0.2  0.1 28448 15792 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0     908  0.2  0.1 28516 15792 ?       S    02:54   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0   31755  0.0  0.1 28516 15836 ?       S    02:52   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0   31911  0.0  0.1 28448 15840 ?       S    02:52   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0   31933  0.0  0.1 28516 15792 ?       S    02:52   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php
lpmem0   32104  0.0  0.1 28448 15792 ?       S    02:53   0:00 /usr/bin/php /home/lpmem0/public_html/tutoryang/index.php

   

As a result, we had to disable /home/lpmem0/public_html/tutoryang/index.php to chown'ing to root:root, and chmod'ing to 000;


Please check your scripts are optimized and up to date.

Please note that the acceptable usage range for shared plans is
1.0% average %CPU or less, 1.0% average %Memory or less and Top Processes
below 20%.

If you require a higher usage then allowed on shared servers you might want to try a dedicated plan.

Details on dedicated plans can be found here:


Dedicated Plan http://www.lpdedicated.com

I hope this information is helpful.
--
Thank you for your time and patience.
If you have any further questions, please feel free to contact us.


Best regards,

Disha Kaur
System administrator team

toioi

发表于 2009-10-14 10:10:12 | 显示全部楼层

我用的是Joomla,不是Wordpress,应该不是插件的问题吧。

一路同行

发表于 2009-10-14 10:29:37 | 显示全部楼层

应该是超资源,网站文件访问权限被主机商禁止了,你就一个joomla站,一天几十个IP?检查你的站是不是有问题或者是被别人盗链

toioi

发表于 2009-10-14 10:57:33 | 显示全部楼层

确实是每天就几十个IP。但我有一些音频文件供下载,停机后我已经限制了下载权限,并且删除了一些音频下载。用不用把这点向LP说明已让他给我恢复,还是LP自己能检测到。

一路同行

发表于 2009-10-14 11:03:56 | 显示全部楼层

恩,向他们说明一下,检查你的网站访问日志,像是你的站被盗链或采集了

toioi

发表于 2009-10-14 11:25:06 | 显示全部楼层

我已经向LP重申了。但是请问斑竹,怎么防止网站被盗链或采集呢?

一路同行

发表于 2009-10-14 12:44:27 | 显示全部楼层

在cpanel面板开启防盗链可以防止资源被盗链
采集的话只能禁止掉采集你网站的IP
您需要登录后才可以回帖 登录 | 注册

本版积分规则