You should be using RAID.

On Friday, May 23, 2014, Qijiang Fan <[email protected]> wrote:

> 由於
>
> 儲存數據的某一塊硬盤的讀延遲已經到5秒了(10s平均)。
> 加上 nginx 的那個 I/O 模型,導致 nginx 會幾乎徹底卡死無法接受新連接。
> 首頁和好硬盤裏面的數據也很難服務。
>
> 因此
>
> 臨時改用 apache httpd
> prefork 模型(max 設置的 1000,目前的實際運行狀況是300+)個進程來服務,每個進程各自搞自己的 I/O
>
> 至少在好硬盤上的數據服務能恢復正常
>
> 另外,壞硬盤問題怎麼破。移到一起的話空間不夠。
>
>
> --
> Qijiang Fan
> GPG KEY ID (LONG): 3983 9DD3 50E4 6156
> If you need a GPG encrypted and/or signed email, please tell in advance.
> If you're not intended to receive this email, please don't forward it to
> anyone else, please delete it and its copies, including all attachments,
> and please let the sender know it went to the wrong person. Thanks.
>
> --
>
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“TUNA 主邮件列表”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到[email protected]<javascript:_e(%7B%7D,'cvml','tuna-general%[email protected]');>
> 。
> 要查看更多选项,请访问https://groups.google.com/d/optout。
>


-- 
Difan Zhang (@tifan)
http://tifan.net/

-- 

--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“TUNA 主邮件列表”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到[email protected]。
要查看更多选项,请访问 https://groups.google.com/d/optout。

回复