[CentOS] kswapd taking 100% cpu with no swap on system

Ali Ahsan ali.ahsan at panasiangroup.com
Mon May 9 18:12:27 UTC 2011


On 05/09/2011 11:06 PM, Lamar Owen wrote:
> Can you give the output of pvdisplay, vgdisplay, and lvdisplay?
>
> Also, did you align the pv's to 4K sectors when you partitioned?
>
> What does iostat -x tell you?
>
>

  pvdisplay
   --- Physical volume ---
   PV Name               /dev/sda2
   VG Name               VolGroup00
   PV Size               931.01 GB / not usable 13.34 MB
   Allocatable           yes (but full)
   PE Size (KByte)       32768
   Total PE              29792
   Free PE               0
   Allocated PE          29792
   PV UUID               eLxFxo-4jHx-RGBA-mAR2-7vnW-YAej-3vPphH

   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               VolGroup00
   PV Size               931.51 GB / not usable 11.19 MB
   Allocatable           yes
   PE Size (KByte)       32768
   Total PE              29808
   Free PE               120
   Allocated PE          29688
   PV UUID               pMtvzy-je8m-uJfY-zEpS-M2Cd-ATW9-o9tfuM


vgdisplay
   --- Volume group ---
   VG Name               VolGroup00
   System ID
   Format                lvm2
   Metadata Areas        2
   Metadata Sequence No  6
   VG Access             read/write
   VG Status             resizable
   MAX LV                0
   Cur LV                3
   Open LV               3
   Max PV                0
   Cur PV                2
   Act PV                2
   VG Size               1.82 TB
   PE Size               32.00 MB
   Total PE              59600
   Alloc PE / Size       59480 / 1.82 TB
   Free  PE / Size       120 / 3.75 GB
   VG UUID               FNqyvW-LWqe-iuV4-1tRJ-Gsrl-sH1X-KyHLpz


--- Logical volume ---
   LV Name                /dev/VolGroup00/LogVol01
   VG Name                VolGroup00
   LV UUID                Ekyo0u-UVOe-Sanz-9Eil-N7J5-vebi-KcRUW2
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                30.00 GB
   Current LE             960
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:0

   --- Logical volume ---
   LV Name                /dev/VolGroup00/LogVol02
   VG Name                VolGroup00
   LV UUID                2I10tF-PgZP-zUSc-oQi4-am6h-18xv-FfLUJw
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                1.79 TB
   Current LE             58512
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:1

   --- Logical volume ---
   LV Name                /dev/VolGroup00/LogVol03
   VG Name                VolGroup00
   LV UUID                o9SQVk-Ehee-0PS3-e0FC-mb0h-vXwG-wCGvbp
   LV Write Access        read/write
Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:0

   --- Logical volume ---
   LV Name                /dev/VolGroup00/LogVol02
   VG Name                VolGroup00
   LV UUID                2I10tF-PgZP-zUSc-oQi4-am6h-18xv-FfLUJw
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                1.79 TB
   Current LE             58512
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:1

   --- Logical volume ---
   LV Name                /dev/VolGroup00/LogVol03
   VG Name                VolGroup00
   LV UUID                o9SQVk-Ehee-0PS3-e0FC-mb0h-vXwG-wCGvbp
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                256.00 MB
   Current LE             8
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:2



[root at cassandra1 ~]# iostat -x
Linux 2.6.18-238.9.1.el5 (cassandra1.xxxxx.com)     05/09/2011

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
            5.33    0.01    1.00    3.88    0.00   89.78

Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz 
avgqu-sz   await  svctm  %util
sda               0.03     4.57  0.02  0.79     5.05    42.88    
58.66     0.01    7.61   2.04   0.17
sda1              0.01     0.00  0.00  0.00     0.01     0.00    
20.89     0.00    2.89   2.84   0.00
sda2              0.02     4.57  0.02  0.79     5.04    42.88    
58.69     0.01    7.61   2.04   0.17
sdb               8.28   192.14 43.04  3.85  2855.18  1567.95    
94.34     2.22   47.25   4.74  22.22
sdb1              8.28   192.14 43.04  3.85  2855.18  1567.95    
94.34     2.22   47.25   4.74  22.22
dm-0              0.00     0.00  0.55  0.59    13.88     4.76    
16.23     0.04   34.44   7.02   0.81
dm-1              0.00     0.00 46.71 197.04  2812.84  1576.32    
18.01     5.23   21.44   0.89  21.61
dm-2              0.00     0.00  4.19  3.72    33.50    29.75     
8.00     1.10  139.24   1.72   1.36


-- 
S.Ali Ahsan

Senior System Engineer

e-Business (Pvt) Ltd

49-C Jail Road, Lahore, P.O. Box 676
Lahore 54000, Pakistan

Tel: +92 (0)42 3758 7140 Ext. 128

Mobile: +92 (0)345 831 8769

Fax: +92 (0)42 3758 0027

Email: ali.ahsan at panasiangroup.com



www.ebusiness-pg.com

www.panasiangroup.com

Confidentiality: This e-mail and any attachments may be confidential
and/or privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person
use it for any purpose or store or copy the information in any medium.
Internet communications cannot be guaranteed to be timely, secure, error
or virus-free. We do not accept liability for any errors or omissions.




More information about the CentOS mailing list