Archive for the ‘Tech’ Category
Heavy CPU Load Caused by Wordpress Caching
Tuesday, February 21st, 2006It is very happy to come back and write stuff here, really. Yesterday, few hours after I noticed an observable slow down when visiting His Story, I was told that for some reason my blog had led its hosting server to a heavy processor load, up to 50%. HS was shut down at the moment.
HS is built using Wordpress at its current version 2.0.1. By deactivating all the plugins I have installed, it turned out that they were not the reason causing the problem. Very soon, I found that the directories under wp-content/cache contained huge amount of temporary files, which seemed to be the cached pages of HS. It was slow when gftp was fetching the file names under these directories. Since they were automatically generated files which were not important, I removed all of them. Right after that, HS was responding again.
By searching through Wordpress official forums, I found that its cache mechanism does not do the clean job automatically. Although it aims for speeding up the execution of PHP scripts, but due to the large amount of cached file, PHP’s file traversing function makes the website slow again. To disable, simply add following line in wp-config.php under the root directory where Wordpress is located:
define('DISABLE_CACHE', true);
Hope this issue can be solved in next release of Wordpress.
Reference:
http://wordpress.org/support/topic/52452?replies=17#post-330443
用Odeo给我留言吧
Thursday, February 16th, 2006Google China Blog Has Opened
Tuesday, February 14th, 2006Happy Valentine’s Day!
Just came across the main page of world’s largest search engine and to my surprise I found the link of Google China Blog. In Chinese, 黑板报 means news in blackboard, which is a common form of posting articles by students of each class in schools of China. Said under the logo, “Google 中国的博客网志,走近我们的产品、技术和文化“, which has the same meaning as said in Google Blog in the same position. It is just the Chinese version of Google Blog, and I am getting very excited about it. Nowadays in China, Google’s name is just as famous as Microsoft back to last century, when Windows had just arrived in every family just got their computers. Even though there is Baidu, the largest China based search engine, most people still prefer to search in Google, for its huge amount of results returned.
Reading its first blog, it reminds me MSDN Blogs, a collection of blogs by developers at Microsoft, showing off their ideas and different opinions from daily work. It seems that Google is doing everything Microsoft is doing, such as gmail and hotmail, gtalk and MSN Messenger, etc. What makes Google different from Microsoft, is that its product are looking so simple but still sufficient for average use. I am not saying Google’s product is better, since different user has different demands, but it just makes people feel different. Of course, Microsoft learns from Google too, but as a giant in software industry, it is no surprise. Looking back to their blogs, you know what I has just talked.
What I am expecting now, is the Chinese version of MSDN Blogs, or does it exist and I just don’t find it?
6e的网页信噪比
Wednesday, November 16th, 2005本身不太熟悉6e的,只是一段时间之前听说过。今天忘了搜什么东西了,搜到了6e的网站上。之后辗转又发现了博索。Booso大概的功用据我几分钟之内的理解,是一个博客日记的搜索引擎。根据使用指南,加了Refer代码在主页的侧栏里。到目前为止还没有什么结果。过几天再搜一下吧。
Booso一个有意思的地方,是6e提出的“网页信噪比”的概念。具体是什么不太清楚,感觉起来NB1。搜了一下 wangxiaohu.com ,结果如下:
Result for http://wangxiaohu.com
分类::权重:网页信噪比
linux::
学校::
环境::
中国::
饮料::
声音::
软件::
考试::
电脑::
blog::
智慧::
写作::
物理::
污染::
数学::
视频::
生活::
商业::
论坛::
旅游::
竟然知道我最喜欢的话题是Linux。实际上我的Blog里并没有多少是讲Linux的,我不知道是怎么猜的——挺NB2的。有空好好研究一下。
更新:
既然可以分类了,博索应该尽快实现Yahoo!或者Google那样的博客分类目录。让计算机代替人工去做这样的工作,应该没几天就可以很完善了。而且也可以做一个脚本,让任何分类过的Blog上都可以显示有同样话题的Blog链接。不知道6e下一步有没有这样的计划,不过我猜会在互联网多少都要激起一片涟漪。
_______
1 NB = Not Bad
2 NB = 牛X
When You Wish Upon A Star
Friday, September 30th, 2005In the news today, it is reported that Shenzhou VI, the sixth generation of China’s space shuttle, is going to be launched before October 15th. Currently there are 6 candidates waiting to be selected as Shenzhou’s pilots and the final decision might come out until 6 hours before the launching. There is going to be two pilots for the coming mission, where there was only one, Liwei Yang, last time. It is also reported that, Shenzhou VI is more advanced than its previous version, such as improvements were made on safety issues.













