atom feed9 messages in ru.sysoev.nginxRE: question about io problem
FromSent OnAttachments
M.Kursad DARAMay 26, 2008 11:19 pm 
Igor SysoevMay 27, 2008 1:31 am 
M.Kursad DARAMay 27, 2008 2:17 am 
Dave CheneyMay 27, 2008 2:49 am 
M.Kursad DARAMay 27, 2008 3:52 am 
Dave CheneyMay 27, 2008 4:06 am 
M.Kursad DARAMay 27, 2008 4:31 am 
Dave CheneyMay 27, 2008 4:54 am 
M.Kursad DARAMay 27, 2008 5:19 am 
Subject:RE: question about io problem
From:M.Kursad DARA (kurs@public.gmane.org)
Date:May 27, 2008 4:31:30 am
List:ru.sysoev.nginx

There is six disks in array.

avg-cpu: %user %nice %system %iowait %steal %idle 0.28 0.00 3.45 8.87 0.00 87.40

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.27 1.09 54.98 3.91 495.61 132.89 10.67 0.61 10.35 4.78 28.17

avg-cpu: %user %nice %system %iowait %steal %idle 3.40 0.00 20.20 71.30 0.00 5.10

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 1.60 2.40 390.20 13.80 32180.80 189.00 80.12 16.79 40.52 2.48 100.02

avg-cpu: %user %nice %system %iowait %steal %idle 3.00 0.00 16.50 62.90 0.00 17.60

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.80 0.20 342.00 29.00 26078.40 372.80 71.30 15.27 42.47 2.70 100.06

avg-cpu: %user %nice %system %iowait %steal %idle 3.59 0.00 20.06 67.47 0.00 8.88

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 1.00 0.00 444.51 13.97 31861.08 146.91 69.81 14.83 32.27 2.18 99.86

-----Original Message----- From: owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org
[mailto:owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org] On Behalf Of Dave Cheney Sent: Tuesday, May 27, 2008 2:07 PM To: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Subject: Re: question about io problem

Can you post a few samples of iostat 5

How many disks are in your array ?

On 27/05/2008, at 8:52 PM, M.Kursad DARA wrote:

Concurrent established ~2000 users.

It's SCSI

2 GB memory. 50 Mb is free now. It's not running on VPS

-----Original Message----- From: owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org
[mailto:owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org] On Behalf Of Dave Cheney Sent: Tuesday, May 27, 2008 12:49 PM To: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Subject: Re: question about io problem

How many spindles do you have ? What kind of drives? SATA, PATA, SCSI, FC, etc?

How much memory do you have, how much is free at the moment ?

Are you running inside a VPS ?

On 27/05/2008, at 7:17 PM, M.Kursad DARA wrote:

Centos 5.

I'm using iostat -x 1 Always see %90

-----Original Message----- From: owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org
[mailto:owner-nginx-nofU2znGi42HXe+LvDL@public.gmane.org] On Behalf Of Igor Sysoev Sent: Tuesday, May 27, 2008 11:32 AM To: nginx-nofU2znGi42HXe+LvDL@public.gmane.org Subject: Re: question about io problem

On Tue, May 27, 2008 at 09:20:12AM +0300, M.Kursad DARA wrote:

How can i optimize io on nginx ?

it's serving image and flv files. IO is very high ( %90 )

is there any option to handle it ?

What OS do you use ? Where do you see 90% IO ?