解決了一個困擾了很久的WP問題

好一段日子自架的這個WordPress blog都有個問題,就是”add new post”時,往往load上幾分鐘。很困擾,有時寫的興致就被破壞了。用Firefox的話,會出現這個error message:

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script:http:…..

一直找不到解決方法,初時以為是插件起了衝突,一個一個加減的去試,問題略有改善,但仍非常慢。

今次找到這個POST,提供了解決方法。

問題的根源,原來是我曾經把另一個WordPress blog的文章連留言匯入到這裡,當中附帶著大堆meta data,把”add new post”拖慢了。

我其實不知道meta data為何會產生問題,但我先將網站和資料庫備份,然後試著用作者提供的第二個方法,將資料庫進行清理,幸好過程順利,一舉成功了。

我不選第一個方法,是因為每次升級WordPress都要做一次修改,最好還是替資料庫排毒好了。

我懷疑,年來一張貼新文章,網誌就掛了,說太多人同時到訪,這問題也可能是資料庫有瘀血的原因。我的網誌訪問人數有限,怎可能常常有負荷過重的問題呢?

各位若來訪時再遇到甚麼問題,煩請告之。也希望我的經驗,會對遇到同樣麻煩的朋友有幫助。

About Duke aka 公園仔

Testing
This entry was posted in 技術增值 and tagged . Bookmark the permalink.

5 Responses to 解決了一個困擾了很久的WP問題

  1. gar~* says:

    常到訪你的網誌想留言時都有句”太多人同時到訪” unable to start another process之類的東西, 至今仍在啊~ 這是網存公司的問題吧?

  2. 浪子m says:

    let me test test sin

  3. 浪子m says:

    okay wor, no problem la

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word