Re: Сервер отдачи файлов на NGINX

street nginx-forum at nginx.us
Thu Feb 21 17:07:06 UTC 2013


iostat

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.06    0.10    0.15    0.48    0.00   99.22

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda              57.62     10957.42        48.08 1114988346    4892652
sdb              56.95     10827.38        48.08 1101755210    4892652
md0               0.00         0.01         0.00       1066          0
md1             122.00     21784.77        47.32 2216741098    4815232


top

top - 12:06:21 up 1 day,  4:16,  1 user,  load average: 0.10, 0.07, 0.02
Tasks: 228 total,   1 running, 225 sleeping,   2 stopped,   0 zombie
Cpu(s):  0.0%us,  0.1%sy,  0.0%ni, 99.6%id,  0.1%wa,  0.0%hi,  0.2%si, 
0.0%st
Mem:  32988060k total,  9458872k used, 23529188k free,   102196k buffers
Swap: 31248304k total,        0k used, 31248304k free,  7966664k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND        
                                                    
27260 root      20   0 19204 1476 1020 R    1  0.0   0:00.02 top            
                                                    
19179 www-data  15  -5  101m  73m  856 S    0  0.2   0:01.63 nginx          
                                                    
19181 www-data  15  -5  103m  75m  856 S    0  0.2   0:01.52 nginx          
                                                    
19188 www-data  15  -5  127m  99m  856 S    0  0.3   0:02.64 nginx          
                                                    
    1 root      20   0  8356  816  684 S    0  0.0   0:02.70 init           
                                                    
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd       
                                                    
    3 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0    
                                                    
    4 root      20   0     0    0    0 S    0  0.0   0:00.49 ksoftirqd/0    
                                                    
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0     
                                                    
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1    
                                                    
    7 root      20   0     0    0    0 S    0  0.0   0:00.01 ksoftirqd/1    
                                                    
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1     
                                                    
    9 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/2    
                                                    
   10 root      20   0     0    0    0 S    0  0.0   0:00.02 ksoftirqd/2    
                                                    
   11 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/2     
                                                    
   12 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/3    
                                                    
   13 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/3    
                                                    
   14 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/3     
                                                    
   15 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/4    
                                                    
   16 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/4    
                                                    
   17 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/4     
                                                    
   18 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/5    
                                                    
   19 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/5    
                                                    
   20 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/5     
                                                    
   21 root      RT   0     0    0    0 S    0  0.0   0:00.02 migration/6    
                                                    
   22 root      20   0     0    0    0 S    0  0.0   0:00.26 ksoftirqd/6    
                                                    
   23 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/6     
                                                    
   24 root      RT   0     0    0    0 S    0  0.0   0:00.05 migration/7    
                                                    
   25 root      20   0     0    0    0 S    0  0.0   0:00.01 ksoftirqd/7    
                                                    
   26 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/7     
                                                    
   27 root      RT   0     0    0    0 S    0  0.0   0:00.03 migration/8    
                                                    
   28 root      20   0     0    0    0 S    0  0.0   0:00.02 ksoftirqd/8    
                                                    
   29 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/8     
                                                    
   30 root      RT   0     0    0    0 S    0  0.0   0:00.03 migration/9    
                                                    
   31 root      20   0     0    0    0 S    0  0.0   0:00.04 ksoftirqd/9    
                                                    
   32 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/9     
                                                    
   33 root      RT   0     0    0    0 S    0  0.0   0:00.01 migration/10   
                                                    
   34 root      20   0     0    0    0 S    0  0.0   0:00.04 ksoftirqd/10   
                                                    
   35 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/10


какую нагрузку на сеть нужно отобразить? график с munin подойдет?

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,236430,236436#msg-236436



Подробная информация о списке рассылки nginx-ru