找回密码
 注册
广告投放 虚位以待【阿里云】2核2G云新老同享 99元/年,续费同价做网站就用糖果主机-sugarhosts.comJtti.com-新加坡服务器,美国服务器,香港服务器
查看: 380|回复: 3

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

[复制链接]
发表于 2007 年 8 月 7 日 08:19:26 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

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

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

  1. CPU Exceeded Log For Mon Aug  6 10:38:39 2007

  2.   Mon Aug  6 10:33:45 2007: used  0.06 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/292353 HTTP/1.1
  3.   Mon Aug  6 10:33:53 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/thread-16277-1-1.html HTTP/1.1
  4.   Mon Aug  6 10:33:56 2007: used  0.07 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /html/news/20070621/46126.html HTTP/1.0
  5.   Mon Aug  6 10:34:03 2007: used  0.01 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16949.html HTTP/1.1
  6.   Mon Aug  6 10:34:09 2007: used  0.09 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=14504 HTTP/1.1
  7.   Mon Aug  6 10:34:13 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /plus/feedback.php?arcID=30672 HTTP/1.0
  8.   Mon Aug  6 10:34:25 2007: used  0.07 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bk/vaman/The%20power%20of%20love.mp3 HTTP/1.1
  9.   Mon Aug  6 10:34:25 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=16076&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D6 HTTP/1.1
  10.   Mon Aug  6 10:34:27 2007: used  0.07 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16628.html HTTP/1.1
  11.   Mon Aug  6 10:34:57 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /MovieSearch-e5b09ae6af94c2b7e59f83e588a9e5a5a5 HTTP/1.1
  12.   Mon Aug  6 10:34:57 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/415092 HTTP/1.1
  13.   Mon Aug  6 10:34:57 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/127323 HTTP/1.1
  14.   Mon Aug  6 10:34:57 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Search-46616c6c656e2c20546865-PipNum HTTP/1.1
  15.   Mon Aug  6 10:34:57 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/512579 HTTP/1.1
  16.   Mon Aug  6 10:34:58 2007: used  0.05 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Search-e6b19fe4b88ae790b5e790b6-PubDate HTTP/1.1
  17.   Mon Aug  6 10:34:58 2007: used  0.05 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/45604 HTTP/1.1
  18.   Mon Aug  6 10:34:58 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/72854 HTTP/1.1
  19.   Mon Aug  6 10:35:36 2007: used  0.07 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070621/35571.html HTTP/1.1
  20.   Mon Aug  6 10:35:36 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070704/65612.html HTTP/1.1
  21.   Mon Aug  6 10:35:36 2007: used  0.08 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dv/20070621/38638.html HTTP/1.1
  22.   Mon Aug  6 10:35:36 2007: used  0.06 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dm/20070620/3016.html HTTP/1.1
  23.   Mon Aug  6 10:35:36 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/ent/20070704/60767.html HTTP/1.1
  24.   Mon Aug  6 10:35:50 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=12998 HTTP/1.1
  25.   Mon Aug  6 10:35:58 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=14916 HTTP/1.1
  26.   Mon Aug  6 10:36:04 2007: used  0.08 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/mov/20070621/28222.html HTTP/1.1
  27.   Mon Aug  6 10:36:04 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/mov/20070621/26059.html HTTP/1.1
  28.   Mon Aug  6 10:36:04 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/gg/20070621/4700.html HTTP/1.1
  29.   Mon Aug  6 10:36:04 2007: used  0.01 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/dm/20070620/3059.html HTTP/1.1
  30.   Mon Aug  6 10:36:39 2007: used  0.17 seconds of cpu time for /usr/bin/php viewthread.php
  31.   Mon Aug  6 10:36:47 2007: used  0.01 seconds of cpu time for php
  32.   Mon Aug  6 10:36:48 2007: used  0.01 seconds of cpu time for PROCESS : /usr/bin/php viewthread.php
  33.   Mon Aug  6 10:36:50 2007: used  0.07 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/314273 HTTP/1.1
  34.   Mon Aug  6 10:36:50 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.xinshiye.net.cn[/url] : GET /Content/161308 HTTP/1.1
  35.   Mon Aug  6 10:36:57 2007: used  0.10 seconds of cpu time for HTTP Request: jiucai.im80s.net : HEAD /html/girl/20070704/57820.html HTTP/1.1
  36.   Mon Aug  6 10:36:58 2007: used  0.11 seconds of cpu time for HTTP Request: jiucai.net.cn : GET /html/dm/20070621/3787.html HTTP/1.1
  37.   Mon Aug  6 10:36:59 2007: used  0.07 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=12575 HTTP/1.0
  38.   Mon Aug  6 10:37:26 2007: used  0.07 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /plus/feedback.php?arcID=30780 HTTP/1.0
  39.   Mon Aug  6 10:38:00 2007: used  9.00 seconds of cpu time for [[mysql query]]
  40.   Mon Aug  6 10:38:03 2007: used  0.13 seconds of cpu time for HTTP Request: jiucai.im80s.net : GET /html/gg/20070621/6580.html HTTP/1.1
  41.   Mon Aug  6 10:38:12 2007: used  21.00 seconds of cpu time for [[mysql query]]
  42.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  43.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  44.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  45.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  46.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  47.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  48.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  49.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  50.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  51.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  52.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  53.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  54.   Mon Aug  6 10:38:15 2007: used  0.08 seconds of cpu time for /usr/bin/php view.php
  55.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  56.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  57.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  58.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  59.   Mon Aug  6 10:38:15 2007: used  0.09 seconds of cpu time for /usr/bin/php view.php
  60.   Mon Aug  6 10:38:15 2007: used  0.07 seconds of cpu time for /usr/bin/php redirect.php
  61.   Mon Aug  6 10:38:16 2007: used  0.01 seconds of cpu time for PROCESS : /usr/bin/php redirect.php
  62.   Mon Aug  6 10:38:16 2007: used  0.09 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=17428 HTTP/1.1
  63.   Mon Aug  6 10:38:25 2007: used  13.00 seconds of cpu time for [[mysql query]]
  64.   Mon Aug  6 10:38:28 2007: used  0.01 seconds of cpu time for HTTP Request: bbs.im80s.net : GET /archiver/tid-16013.html HTTP/1.1
  65.   Mon Aug  6 10:38:28 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/images/kuboy_61no2/frame_on.gif HTTP/1.1
  66.   Mon Aug  6 10:38:28 2007: used  0.01 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/images/kuboy_61no2/main_bg.gif HTTP/1.1
  67.   Mon Aug  6 10:38:34 2007: used  0.09 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=17428 HTTP/1.1
  68.   Mon Aug  6 10:38:35 2007: used  0.09 seconds of cpu time for HTTP Request: [url]www.im80s.net[/url] : GET /bbs/viewthread.php?tid=15063 HTTP/1.0
复制代码
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2007 年 8 月 7 日 12:01:55 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
dede不是完全静态,很多东西是调用的,
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2007 年 8 月 7 日 12:04:00 | 显示全部楼层
我一直认为。。dz的确很耗。。。
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2007 年 8 月 7 日 13:16:31 | 显示全部楼层
数据库查询。。。,看来的确DZ嫌疑比较大,试试暂时关了它
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2025 年 2 月 5 日 22:47 , Processed in 0.028274 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表