Is Your Web Hosting Provider Robbing You?是您的Web託管服務提供商劫你?
No, I am not joking.不,我不是在開玩笑。 I recently found out how my web hosting provider was depriving me (unintentionally I hope) of significant revenue per month by making my site inaccessible to large number of users daily.最近,我發現我的網頁如何託管服務提供商,是剝奪了我(我希望有意無意地)可觀的收入,每月使我的網站無法進入的大量用戶,每日。 And the way it was done took me by surprise.和途徑,這是做了我措手不及。
Apache server has an interesting directive called MaxClients . Apache服務器有一個有趣的指令,所謂的maxclients 。 MaxClients sets the limit on the number of simultaneous requests that will be served. maxclients設置數量限制的同時 ,要求將服務。 Any connection attempts over the MaxClients limit will normally be queued, up to a number based on the ListenBacklog directive.任何連接嘗試超過maxclients限制通常會排隊,到了若干的基礎上, listenbacklog指令。 Once a child process is freed at the end of a different request, the connection will then be serviced.一旦孩子的過程是釋放在年底不同的要求,連接,然後提供服務。
For non-threaded servers, MaxClients translates into the maximum number of child processes that will be launched to serve requests.對於非線程服務器, maxclients轉化的最大數目的子進程將要推出的服務要求。 The default value is 256; to increase it, you must also raise ServerLimit.默認值是256 ;增加它,您還必須提高serverlimit 。
Effectively it throttles your server during peak loads if set to too low a value.有效節流您的服務器在高峰負荷,如果設置得太低的價值。 My Apache server served around 40GB last month.我的Apache服務器服務周圍40 GB的最後一個月。 And yet for some un-Godly reason MaxClients was set to only 10!然而,一些聯合國正直的原因maxclients被設置為只有10個! It meant whenever there was merely 10 simultaneous requests (which is much less than 10 users as each users makes multiple simultaneous requests to fetch images, javascript etc.) my server throttled.這意味著每當有只不過是10個同步的要求(這是遠遠少於10個用戶,因為每個用戶,使多個同步的要求,擷取影像, JavaScript的等)我的服務器扼殺。
I have taken their best (priciest offering) for VPS hosting.我已考慮過他們的最好的(最貴的提供)主辦的電子道路收費。 And yet…但…
I had seen such throttling as my blogs are becoming more popular but I never imagined they would have a hand in it.我曾見過這種節流作為我的Blog正在成為更受歡迎,但我從來沒有想到他們將有一個手在它。 As soon as I mentioned to盡快正如我剛才所說,以 WestHost support westhost支持 they increased the MaxClients limit.他們增加了maxclients的限制。 And my problem was instantly solved.和我的問題是,即時解決。 Now I am enjoying much higher level of traffic daily.現在我很享受高得多的水平,每天的交通。
Filed under提起下 Headline News頭條新聞 , , Pro Blogging贊成Blogging , , Tech Note技術說明 , , Technology技術 , , Web網頁 , , Web Hosting虛擬主機 , , Web Services Web服務 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |





June 17th, 2006 at 5:04 am 2006年6月17日在上午05時04分
My VPS host is pretty so far and the price plan looks good.我的電子道路收費的東道國是相當到目前為止,和價格的計劃看起來很不錯。 Drop me a mail if you are looking to change host.下拉我的郵件如果您正在尋找改變東道國。
ps.保安局常任秘書長。 I have no link with them.我沒有與他們的聯繫。