LAMP 都幾穩定!

運行OS: RHEL 5.4
Apache, MySQL, PHP, 開了一個 forum.
今晚有人 post 了一個美女的專題, 結果:
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

1178 tasks
158 load avg

TOP

個load大成咁好唔正常....

TOP

2000 幾個 apache tasks, 差不多啦

原帖由 fsck 於 2009-9-7 03:43 發表
個load大成咁好唔正常....

TOP

e個load avg...仲可以有正常速度嗎=.=?

TOP

But see, the 4 CPUs were not busy at all, the 8GB RAM is also sufficient, no (not much) swap is used.  I just wonder, why you have to spawn 2000 httpd.  Do you really have 2,000 connections at the same time?  What forum is it?  Do you have more than 20,000 users at the same time?

Of course LAMP + RHEL is very very very stable.

Stephen Wong @ Hong Kong

TOP

一個台灣的 forum(個窗title 有寫...),次次一有美女出現就會咁。
今朝睇返得返800幾個 apache,正常返。
主要係 network, 大家都係 load 同一個 post, 所以 CPU / RAM 用量比較少。

TOP

回覆 7# 的帖子

Wow, Xfastest!  Okay, fine, if there are so many fans of the Asus (show girls), then, ask the forum to buy more servers!

BTW, ask HKEPC to have Chrissie Chau to hold some products here, and we will have as many (or even more) traffic!

Stephen Wong @ Hong Kong

TOP

原帖由 Wai 於 2009-9-7 11:15 發表
e個load avg...仲可以有正常速度嗎=.=?


Load的計算因為CPU core數目不同有所變化。(不算CPU速度)
Single Core CPU Load = 1
Dual Core CPU Load= 2 (等於Single Core CPU = 1)
Quad Core CPU Load= 4 (等於Single Core CPU = 1)
如果要與與Single core CPU 比較,Dual Core 要除2、Qual Core除4。

所以load數目不變情況下,CPU越多部機反應也越快。

以ching部機Load Average除4後,每個CPU core load Average負載=19.95、24.82、34.73。

[ 本帖最後由 computer1975 於 2009-9-7 23:34 編輯 ]

TOP

呢個LOADING好細咋, 但個CONNECTION數量就好有問題, 你試下行個PROXY之後仲細D.
16G SWAP... SET咁大冇用架...

TOP