strange disk activity

Boris Samorodov bsam at ipt.ru
Sat Feb 20 19:34:23 UTC 2010


Hello List,

I've got a very strange disk activity:
-----
% iostat -xw60 da0
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       43.2 204.4   971.9 10917.2    0  30.7  30 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        5.1 274.6    72.7 15206.2    0  50.4  27 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        8.1 271.1   117.0 14827.8    0  51.1  29 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        9.9 304.6   184.5 16814.7   31  64.6  33 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        6.6 276.1   134.1 15184.1    0  36.6  29 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       13.3 336.9   268.5 19073.2    0  36.4  36 
^C
% iostat -xw1 da0
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       43.0 204.7   968.6 10937.5    0  30.7  30 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        6.0   2.0   239.8    32.0    0   3.0   2 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        3.0  55.9    65.9   895.1    0   3.8  18 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       29.0 286.7  1212.8 18221.8    0  39.7  42 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        5.0 309.7   223.8 18589.3    1   0.6   6 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        0.0  21.0     0.0   335.7    0   8.0  17 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        0.0 286.7     0.0 18221.5    0   0.7   4 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        5.0 571.4    77.9 36412.2    0   1.3  22 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        4.0 446.6    28.0 28419.4   32   0.8  16 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       32.0 1005.0   411.6 26757.6   68  37.8  91 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0       25.0 189.8   879.1 11972.2    1 266.8 103 
                        extended device statistics  
device     r/s   w/s    kr/s    kw/s wait svc_t  b  
da0        5.0   5.0    79.9   175.8    0  11.5  11 
^C
-----

If I'm not mistaken it's approx. 15Mb/sec. Which means more
than 1000 Tb a day!

How can I find which program is trashing the disk? The system is
FreeBSD-7.0 with 15 jails. Thanks for your help.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-questions mailing list