歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 07:34:28 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  虛擬主機討論  |  麻煩:blog.php的CPU資源耗用太多? « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 麻煩:blog.php的CPU資源耗用太多?  (閱讀 26168 次)
oc
版主
一般會員
*****
文章: 115


檢視個人資料 個人網站
« 於: 四月 03, 2007, 12:43:23 下午 »

真是悽慘,我的LifeType被主機商「卸載」,整個程式目錄被封鎖。主機商寄給我一封信說程式裡面的blog.php耗用CPU資源太多導致當機,如果我要恢復網站的話,要先解決這個程式的問題。真是的,我要是會就好了。想請教一下,blog.php真的會有這種問題嗎?以下是主機商的信:
======
Your account "b-oo-k.net" hosted on server Atlantis is running multiple(over 50) instances of the following script and consuming all the cpu on the server.

blog.php

This is causing problems for all the other clients/accounts on the server and crashed the server a few minutes back and possibly a couple of times atleast in the last few days. We have moved the folder

/home/jbooknet/public_html/blog

outside public_html and renamed it blog.exploit.

Please check with the developers of the scripts/software if there is any issue with it and may need to be upgraded/patched.
=======

請大家幫忙。
已記錄

ajer001
LifeType 中文發展團隊
超級會員
*****
文章: 516


張阿駕


檢視個人資料 個人網站
« 回覆文章 #1 於: 四月 03, 2007, 07:20:42 下午 »

Mark,看來可以來實行我們討論的那個計畫了,嘿嘿!
已記錄

|| FreeBSD + Apache 2.x + PHP 5.x + MySQL 5.x ||
-- ajer001 AT twntwn.info --
minstrel
二十四橋明月夜
總版主
一般會員
*****
文章: 106



檢視個人資料 個人網站
« 回覆文章 #2 於: 四月 04, 2007, 02:38:14 上午 »

這...

不曉得這個還會造成當機. 有沒有log可以調出來看呢?

我覺得, 在做這些之前, 似乎該先換主機商. 總覺得國外的虛擬主機商, 都是說停就停, 理由也說得不清不楚..

« 最後編輯時間: 四月 04, 2007, 02:41:21 上午 由 minstrel » 已記錄

所謂思念
有時只是單純的等待
坐看世界如何一點一點將自己遺忘
月色染白了髮
minstrel
二十四橋明月夜
總版主
一般會員
*****
文章: 106



檢視個人資料 個人網站
« 回覆文章 #3 於: 四月 04, 2007, 02:41:49 上午 »

Mark,看來可以來實行我們討論的那個計畫了,嘿嘿!

什麼計畫啊? 頗好奇..
已記錄

所謂思念
有時只是單純的等待
坐看世界如何一點一點將自己遺忘
月色染白了髮
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #4 於: 四月 04, 2007, 11:53:25 上午 »

真是悽慘,我的LifeType被主機商「卸載」,整個程式目錄被封鎖。主機商寄給我一封信說程式裡面的blog.php耗用CPU資源太多導致當機,如果我要恢復網站的話,要先解決這個程式的問題。真是的,我要是會就好了。想請教一下,blog.php真的會有這種問題嗎?以下是主機商的信:
======
Your account "b-oo-k.net" hosted on server Atlantis is running multiple(over 50) instances of the following script and consuming all the cpu on the server.

blog.php

This is causing problems for all the other clients/accounts on the server and crashed the server a few minutes back and possibly a couple of times atleast in the last few days. We have moved the folder

/home/jbooknet/public_html/blog

outside public_html and renamed it blog.exploit.

Please check with the developers of the scripts/software if there is any issue with it and may need to be upgraded/patched.
=======

請大家幫忙。

Hi 老貓:

重點是 50 instance...

我猜你的主機商是用 php-cgi 的方式來執行,所以同時間 你的 blog.php 在他的網站上跑了 50 個程式,代表至少同時間有 50 個人在看你的網站。或是有人在攻擊你的網站。

Mark
已記錄

oc
版主
一般會員
*****
文章: 115


檢視個人資料 個人網站
« 回覆文章 #5 於: 四月 10, 2007, 04:23:39 上午 »

終於搬家完成了。感謝大家幫忙,尤其是Mark協助。希望Mark這回搬家也一樣順利。
已記錄

markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #6 於: 四月 10, 2007, 04:02:24 下午 »

Hi 老貓:

謝謝!還在等 Slicehost 買機器。所以我暫居 dreamhost .....

還好啦,他每天晚上至少 db 都會當一次 ...

Mark
已記錄

頁: [1]
LifeType 中文開發論壇  |  支援  |  虛擬主機討論  |  麻煩:blog.php的CPU資源耗用太多? « 上篇主題 下篇主題 »
    前往: