vaman 发表于 2007 年 8 月 7 日 08:19:26

我的空间最近老是cpu超出,谁帮我分析下啊

我空间上挂了有3个bbs,都是discuz5.5,其中2个是新建的还没有数据
还有3个dede,也只有一个有几万数据
最近开始频繁的cpu超出

If you are the webmaster, your account may have gotten this error for one or more of the following reasons:
Your account has used more than its share of the cpu in the past 60 second sliding window.
Your account has too many concurrent processes running simultanously.
Your account has consumed too much memory.
Your site was recently very busy trying to run inefficient scripts.
The solution would be to optimize your applications to use less CPU.
Adding appropriate indeces to your SQL tables can often help reduce CPU.
Using static .html documents instead of painful .php scripts will practically eliminate CPU usage.看日志我也看不懂,就是显示的各个页面的运行时间
每天接近1M的超出日志这样显示的

CPU Exceeded Log For Mon Aug6 10:38:39 2007

Mon Aug6 10:33:45 2007: used0.06 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/292353 HTTP/1.1
Mon Aug6 10:33:53 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/thread-16277-1-1.html HTTP/1.1
Mon Aug6 10:33:56 2007: used0.07 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /html/news/20070621/46126.html HTTP/1.0
Mon Aug6 10:34:03 2007: used0.01 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16949.html HTTP/1.1
Mon Aug6 10:34:09 2007: used0.09 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=14504 HTTP/1.1
Mon Aug6 10:34:13 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /plus/feedback.php?arcID=30672 HTTP/1.0
Mon Aug6 10:34:25 2007: used0.07 seconds of cpu time for HTTP Request: www.im80s.net : GET /bk/vaman/The%20power%20of%20love.mp3 HTTP/1.1
Mon Aug6 10:34:25 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=16076&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D6 HTTP/1.1
Mon Aug6 10:34:27 2007: used0.07 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16628.html HTTP/1.1
Mon Aug6 10:34:57 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /MovieSearch-e5b09ae6af94c2b7e59f83e588a9e5a5a5 HTTP/1.1
Mon Aug6 10:34:57 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/415092 HTTP/1.1
Mon Aug6 10:34:57 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/127323 HTTP/1.1
Mon Aug6 10:34:57 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Search-46616c6c656e2c20546865-PipNum HTTP/1.1
Mon Aug6 10:34:57 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/512579 HTTP/1.1
Mon Aug6 10:34:58 2007: used0.05 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Search-e6b19fe4b88ae790b5e790b6-PubDate HTTP/1.1
Mon Aug6 10:34:58 2007: used0.05 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/45604 HTTP/1.1
Mon Aug6 10:34:58 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/72854 HTTP/1.1
Mon Aug6 10:35:36 2007: used0.07 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070621/35571.html HTTP/1.1
Mon Aug6 10:35:36 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070704/65612.html HTTP/1.1
Mon Aug6 10:35:36 2007: used0.08 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070621/38638.html HTTP/1.1
Mon Aug6 10:35:36 2007: used0.06 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dm/20070620/3016.html HTTP/1.1
Mon Aug6 10:35:36 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/ent/20070704/60767.html HTTP/1.1
Mon Aug6 10:35:50 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=12998 HTTP/1.1
Mon Aug6 10:35:58 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=14916 HTTP/1.1
Mon Aug6 10:36:04 2007: used0.08 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/mov/20070621/28222.html HTTP/1.1
Mon Aug6 10:36:04 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/mov/20070621/26059.html HTTP/1.1
Mon Aug6 10:36:04 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/gg/20070621/4700.html HTTP/1.1
Mon Aug6 10:36:04 2007: used0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dm/20070620/3059.html HTTP/1.1
Mon Aug6 10:36:39 2007: used0.17 seconds of cpu time for /usr/bin/php viewthread.php
Mon Aug6 10:36:47 2007: used0.01 seconds of cpu time for php
Mon Aug6 10:36:48 2007: used0.01 seconds of cpu time for PROCESS : /usr/bin/php viewthread.php
Mon Aug6 10:36:50 2007: used0.07 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/314273 HTTP/1.1
Mon Aug6 10:36:50 2007: used0.01 seconds of cpu time for HTTP Request: www.xinshiye.net.cn : GET /Content/161308 HTTP/1.1
Mon Aug6 10:36:57 2007: used0.10 seconds of cpu time for HTTP Request: jiucai.im80s.net : HEAD /html/girl/20070704/57820.html HTTP/1.1
Mon Aug6 10:36:58 2007: used0.11 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /html/dm/20070621/3787.html HTTP/1.1
Mon Aug6 10:36:59 2007: used0.07 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=12575 HTTP/1.0
Mon Aug6 10:37:26 2007: used0.07 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /plus/feedback.php?arcID=30780 HTTP/1.0
Mon Aug6 10:38:00 2007: used9.00 seconds of cpu time for []
Mon Aug6 10:38:03 2007: used0.13 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/gg/20070621/6580.html HTTP/1.1
Mon Aug6 10:38:12 2007: used21.00 seconds of cpu time for []
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.08 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.09 seconds of cpu time for /usr/bin/php view.php
Mon Aug6 10:38:15 2007: used0.07 seconds of cpu time for /usr/bin/php redirect.php
Mon Aug6 10:38:16 2007: used0.01 seconds of cpu time for PROCESS : /usr/bin/php redirect.php
Mon Aug6 10:38:16 2007: used0.09 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=17428 HTTP/1.1
Mon Aug6 10:38:25 2007: used13.00 seconds of cpu time for []
Mon Aug6 10:38:28 2007: used0.01 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16013.html HTTP/1.1
Mon Aug6 10:38:28 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/images/kuboy_61no2/frame_on.gif HTTP/1.1
Mon Aug6 10:38:28 2007: used0.01 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/images/kuboy_61no2/main_bg.gif HTTP/1.1
Mon Aug6 10:38:34 2007: used0.09 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=17428 HTTP/1.1
Mon Aug6 10:38:35 2007: used0.09 seconds of cpu time for HTTP Request: www.im80s.net : GET /bbs/viewthread.php?tid=15063 HTTP/1.0

esnak 发表于 2007 年 8 月 7 日 12:01:55

dede不是完全静态,很多东西是调用的,

Python 发表于 2007 年 8 月 7 日 12:04:00

我一直认为。。dz的确很耗。。。

esnak 发表于 2007 年 8 月 7 日 13:16:31

数据库查询。。。,看来的确DZ嫌疑比较大,试试暂时关了它
页: [1]
查看完整版本: 我的空间最近老是cpu超出,谁帮我分析下啊