返回列表 发帖

今天收到来信,CPU占用严重,DZ论坛启用主题标签(TAG),不提倡启用??如何设置?

注:此主机是 http://www.idc866.com  使用的主机。。

CPU占用严重,DZ论坛启用主题标签(TAG),

不提倡启用??应该如何设置??


来信中,明确指出:relatekw.php   占CPU资源严重,3%,   

在DZ 搜索了一下,只有一贴相关:



http://www.discuz.net/viewthread.php?tid=1154865   
此贴有人回复是  启用主题标签(TAG)  造成的。
我站启用了主题标签,自动生成并使用,个数为100 (默认值),

我使用的是国外主机空间,,八核CPU的。CPU限制是 1%
今天收到  英文信 说CPU占用严重,3%了。。这是长时间占用,才会来信的。。
我站日IP 1500, PV 2万多(51啦记数),  

英文来信说:我站CPU占用过顶 4%,平均占用PCU  0.26%,平均占用 内存 3.3%(8G内存)
要知道 3% 相当于国内 双核 主机的 12%。。超高了。


我站论坛的 relatekw.php  已被服务器自动设为禁止访问,贴子中的 热门标签都不能使用了。

我发现,DZ官方论坛,都不使用标签,落伍者论坛,都不使用标签。。


看来这使用标签不是好事呀。。
要是好事,DZ官方论坛自己不用吗?? 落伍者论坛不用吗??
因为他们论坛人气大,开启了这功能将严重占CPU资源。。。所以都不用。

建议:小论坛可以开启,这有利于收录,有人气的论坛,最好选择性开启。
         我站现在选择“使用并自动生成”,有利于收录。设置贴中解析TAG数为 0,
     主要是贴中解析标签 占资源、拖速度!!
         要是还收到来信,将不再使用这占资源的标签了。
         (09年10月加:运行大半年了,再没说relatekw.php占资源了 )


2.jpg
2009-5-16 08:00




解析:选择开启并自动生成,,是针对搜索收录。
         百度一下你网站,会发现收录了很多标签。。

         贴子中解析标签设为0,,这功能只是针对看客,没几人去点。
        并用,每位看客访问时,标签都自动频繁加载搜索数据库,严重占用CPU。。

         强烈建议,贴中不解析TAG标签。。

你的论坛做大了,有人气了就知道了。。。
为什么DZ,落伍等在论坛,就从来没有过TAG标签。。
难道他们有好的不会用。。。






官方应该出台个,到底如何启用,如何设置???


原英文:
A technician responded to your ticket with:

Hi,
Your script [/home/idc8860/public_html/******/relatekw.php] was causing extremely high processing on [honour]:
idc8860 idc866.com 0.26 3.23 0.2
Top Process %CPU 4.0 /usr/bin/php /home/idc8860/public_html/******/relatekw.php
Top Process %CPU 3.0 /usr/bin/php /home/idc8860/public_html/******/relatekw.php
Top Process %CPU 2.0 [php]
Average %CPU usage - 0.26
Average %Memory usage - 3.23
Average %MySQL usage - 0.2
Top Process 4.0
Top Process 3.0
Top Process 2.0
As such, the script has been chowned to root with 000 file permissions. Please let us know what changes you will be making to correct this issue and we can re-provide ownership of the script to you.
We appreciate your understanding in this matter.
Thanks.
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



结论:以此看出  这国外主机的性能:     限制是:1% 的CPU,25%的内存。
        支持  日IP:1500 * 4 =  6000IP,PV:2W多* 4 = 8W多(可支持10万)
        这国外主机性能不错吧。。。国内主机有几家谁能比。—— 比性价,比性能。


          都没引起各站长注意此问题,算了。以后各站长发现问题时,可以看下我们发的。。


-----------------------------------------
发至各大论坛版块,我们只希望引起重视,顶起来,让更多站长了解:


D Z 论坛:http://www.discuz.net/thread-1296424-1-1.html


落伍论坛:http://www.im286.com/thread-3524923-1-1.html

免费空间:http://www.idc866.com/thread-115-1-1.html


说我发软文也好,软文也要有质量!!
分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
★ 11月开空间新规则,百度GG收录百贴:http://idc866.com/thread-15155-1-1.html
★ 本站转型:推荐免费空间,收集免费空间,免费空间测试,并提供原创申请教程。
★ 免备案空间,免费空间,免费国外空间,国外免费空间,免费美国空间
★ 我们是一群辛勤的小站站长,我们需要团结,我们需要共同进步!!!!
★ 达要求开空间,论坛发申请贴后,请加QQ:876812422  (一般在线、有Q必回)

TOP

CentOSCentOSCentOSCentOSCentOS

TOP

总算解决,,这英文难搞。。以此记录。
★ 11月开空间新规则,百度GG收录百贴:http://idc866.com/thread-15155-1-1.html
★ 本站转型:推荐免费空间,收集免费空间,免费空间测试,并提供原创申请教程。
★ 免备案空间,免费空间,免费国外空间,国外免费空间,免费美国空间
★ 我们是一群辛勤的小站站长,我们需要团结,我们需要共同进步!!!!
★ 达要求开空间,论坛发申请贴后,请加QQ:876812422  (一般在线、有Q必回)

TOP

这是一个程序设置问题

因我站原来开启了 检索 文章 标签(TAG)功能,

此功能 都是通过 relatekw.php 来检索 MYSQL 数据库,还有链接检测论坛的官方服务器。

因请求过多,过度 用 资源,导致增加了服务器负担,现在已把这功能关闭了。。

这个问题已经纠正,不再 影响 服务器 资源 了。

要求重新提供所有权的脚本。

感谢您的理解和帮助,这件事。

谢谢。

----------------------

Hi,

This is a procedure set up problems

I stand by the original article, open the Search tab (TAG) functions,

This feature relatekw.php to search through the MYSQL database, as well as links to the

official testing procedure server forum.

Due to too many requests, excessive use of resources, result in an increase in the burden of the server,

this function has now been closed. This problem has been corrected, no longer affect the server resources.

Request re-provide ownership of the script.

appreciate your understanding and Help in this matter.

Thanks.

--------------------

Hello,

Thanks for your reply. I have found that your resource usage is fine now. I have re-enabled your script /home/idc8860/public_html/*****/relatekw.php

Please check and let us know if you have any further question related to this issue. Please feel free to contact us for further help. We are committed to making your hosting experiences pleasant and fulfilling.

Thank you for contacting lunar pages support team.

Best Regards,
Ankur k Bhardwaj JSA I
System Administrator Lunarpages
http://www.lunarpages.com - Lunarpages Web Hosting http://www.lunarforums.com/forum/ - Lunarpages Forums http://www.lunarpages.com/affiliate.php - Lunarpages Affiliate Program
Telephone: 1-714-521-8150
Fax: 1-714-521-8195
★ 11月开空间新规则,百度GG收录百贴:http://idc866.com/thread-15155-1-1.html
★ 本站转型:推荐免费空间,收集免费空间,免费空间测试,并提供原创申请教程。
★ 免备案空间,免费空间,免费国外空间,国外免费空间,免费美国空间
★ 我们是一群辛勤的小站站长,我们需要团结,我们需要共同进步!!!!
★ 达要求开空间,论坛发申请贴后,请加QQ:876812422  (一般在线、有Q必回)

TOP

当然。。。

必竟是穿洋过海  来大中国的。。。

不过,我们的空间速度是一流的。。。。比起很多国内的空间,速度还是更有优势的。
★ 11月开空间新规则,百度GG收录百贴:http://idc866.com/thread-15155-1-1.html
★ 本站转型:推荐免费空间,收集免费空间,免费空间测试,并提供原创申请教程。
★ 免备案空间,免费空间,免费国外空间,国外免费空间,免费美国空间
★ 我们是一群辛勤的小站站长,我们需要团结,我们需要共同进步!!!!
★ 达要求开空间,论坛发申请贴后,请加QQ:876812422  (一般在线、有Q必回)

TOP

国外空间稳定性要强于国内,速度要比国内的差些。

TOP

HI,

was causing extremely high processing on.

idc8860 idc866.com 0.26 3.23 0.2
Top Process %CPU 4.0 /usr/bin/php /home/idc8860/public_html/******/relatekw.php


This is a procedure set up problems

Already correct this issue
Request re-provide ownership of the script.

appreciate your understanding and Help in this matter.
Thanks.

---------------------------

Hello
Thank you for responding to this matter. Before you we can return the script to you we need more detail on what you think the issue is and how you fixed it. Once we review it and its acceptable we will return the script to your ownership so you may execute it. Thank you for your cooperation in this matter. We value you as a customer and want to work with you toward a solution. Please let us know as quickly as possible how you would like to proceed.
------
Do not hesitate to contact us if you have any questions
Kind Regards,
John Zhang
JSA I - System Administrator Team
1-877-586-2772 (US/Canada)
714-521-8150 (Outside US/Canada)
★ 11月开空间新规则,百度GG收录百贴:http://idc866.com/thread-15155-1-1.html
★ 本站转型:推荐免费空间,收集免费空间,免费空间测试,并提供原创申请教程。
★ 免备案空间,免费空间,免费国外空间,国外免费空间,免费美国空间
★ 我们是一群辛勤的小站站长,我们需要团结,我们需要共同进步!!!!
★ 达要求开空间,论坛发申请贴后,请加QQ:876812422  (一般在线、有Q必回)

TOP

返回列表