刚刚又收到了一封Dreamhost管理员的来信,我不知道他所谓的“立即的改变”指的是什么?谁能告诉我一声?
Hello,
I'm writing to let you know that we need you to make immediate changes to
the website to lower your cpu usage. Currently I'm running a script that
kills your processes before they even start and by doing so I
dramatically lowered the load on the server:
pacer: 09:19 PM# while true; do pkill -9 -u hecaitou; done
pacer: 09:23 PM# uptime
21:23:05 up 117 days, 7:53, 4 users, load average: 58.51, 62.02,
53.44
pacer: 09:23 PM# uptime
21:23:30 up 117 days, 7:53, 4 users, load average: 48.34, 59.34,
52.78
pacer: 09:23 PM# uptime
21:23:58 up 117 days, 7:54, 4 users, load average: 33.75, 54.85,
51.50
pacer: 09:23 PM# uptime
21:24:26 up 117 days, 7:54, 4 users, load average: 23.94, 50.85,
50.26
pacer: 09:24 PM# uptime
21:25:39 up 117 days, 7:55, 4 users, load average: 11.31, 40.92,
46.83
pacer: 09:25 PM#
If you are not able to reduce your usage we will be forced to disable or
throttle your account because a load of 58 is simply not acceptable on a
shared hosting server as it causes other peoples website to slow down. I
will be checking back with you in a few hours.
Thanks!
Trey



04月 18th, 2008 at 12:59 pm
前面月光也提到这个问题,你何看看他近期那篇文章。
04月 18th, 2008 at 12:59 pm
换成默认的主题试试。
04月 18th, 2008 at 1:00 pm
http://www.williamlong.info/archives/1301.html
就是这篇文章。
04月 18th, 2008 at 1:14 pm
不知道啊。
你要是知道的话 你的wp就不会占用这么多资源了。
不过确实挺吓人。
pkill -u hecaitou
灭掉你的进程以后
平均负载降低到10%左右,你在的话就是60%左右。
你考虑对wp动手术吧。。
04月 18th, 2008 at 1:20 pm
immediate changes 意味着 in a few hours 不是你死就是我亡了,还是尽快静态化吧。
04月 18th, 2008 at 1:22 pm
是用的CPU资源过多,发来警告性了。
04月 18th, 2008 at 1:25 pm
cos-html-cache2.5发布
http://www.storyday.com/html/y2008/1488_cos-html-cache25-published.html
要是不会操作我可以帮你,HOHO,不过俺没有测试环境
04月 18th, 2008 at 1:27 pm
大概意思是说你的程序占用服务器的cpu太多。需要你做些改变。你的程序让同一台服务器上的另外网站速度下降。也许是技术问题,也许仅仅是流量过大吧。
04月 18th, 2008 at 1:30 pm
先把这个站关闭对外访问权限吧!Bless
04月 18th, 2008 at 1:35 pm
让你改变CPU占用率过高的情况。
PHP的程序我不清楚,能否把页面生成静态的呢?我当前访问到的页面时http://www.hecaitou.net/?p=2817 动态的;
也可能是有爬虫拼命的抓取你站点的数据,而爬虫在很多站点统计程序是统计不出来了。
能否看看主机的日志,看那几个IP的访问频率最高
04月 18th, 2008 at 3:16 pm
整个系统的负载非常高了,建议你分析下日志,判断一下在那个时间是不是有大量并发访问或数据库死锁等问题造成服务器负载变大。
04月 18th, 2008 at 3:20 pm
和菜头的博客看来真是上规模了。流量,带宽这些因素都要考虑了。blog能做到这一步,可以考虑商业化赚点钱了。。。
04月 18th, 2008 at 3:51 pm
是不是兄弟前几天说话得罪人了?
那帮人干得出来。
04月 18th, 2008 at 3:53 pm
wp我不懂
我才是不是前几天兄弟说话得罪人了?我看有可能,那些人干得出来。
我是瞎猜的。
04月 18th, 2008 at 3:54 pm
去年四月,我的BLOG在运行了一年之后,也因为负载过大,占用CPU资源过多而多次被强行关闭,害得我后来一咬牙,全给切了.
04月 18th, 2008 at 4:34 pm
CPU占用资源过大。叫你静态化。
04月 18th, 2008 at 8:24 pm
和菜头,博客上规模啦,该自个儿买个服务器啦!俺们还等着你发文呐。别到时候那个管理员be forced to disable or
throttle your account啦。关门的时候如果找不到理由,不如模仿一下不许联想以前愚人节干过的活,调侃调侃。
04月 18th, 2008 at 8:41 pm
我猜是让你想办法降低你blog的资源占有量.当然这很困难.
04月 19th, 2008 at 1:11 am
HOHO,现在百度过来的链接都不对了
04月 19th, 2008 at 2:08 am
你可以试试site5.com的服务。如果需要,我可以提供我购买的空间,反正我的闲着也是闲着
04月 19th, 2008 at 2:15 am
对了,如果需要,可以晚上在MSN上聊。我换上了我的MSN的邮件地址,你应该还记得我:)
04月 19th, 2008 at 2:20 am
对了,如果需要,可以晚上在MSN上聊。
04月 20th, 2008 at 4:15 pm
换VPS或DS吧,虚拟主机撑不下去咯。DH的overselling是出了名的垃圾。现在还总是发信叫我续费呢,谁理他。
04月 20th, 2008 at 4:59 pm
直接pkill,太暴力了吧,可以使用top之类的系统命令看看那些进程在占用啊,此外插件还是尽量少用啊。Firefox插件能力很强吧,可是没有限制的见到好用的插件就用,也一样会导致运行很慢,cpu,内存占用过多的。