Re: mdadm memory leak?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Neil Brown <neilb@xxxxxxxxxxxxxxx>:

Hmmm.
There is an md related memory leak in 2.6.12, but I don't think it is
there in 2.6.11.anything.

If 'ps' doesn't show anything, the next place to look is
/proc/slabinfo (which 'slabtop' might display for you).
Slabtop:
Active / Total Objects (% used)    : 217562 / 225483 (96.5%)
Active / Total Slabs (% used)      : 3972 / 3972 (100.0%)
Active / Total Caches (% used)     : 78 / 139 (56.1%)
Active / Total Size (% used)       : 14328.78K / 15891.08K (90.2%)
Minimum / Average / Maximum Object : 0.01K / 0.07K / 128.00K

 OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
152098 151909  99%    0.02K    673      226      2692K fasync_cache
24867  24846  99%    0.05K    307       81      1228K buffer_head
12432   8306  66%    0.27K    888       14      3552K radix_tree_node
 7308   6876  94%    0.13K    252       29      1008K dentry_cache
 6303   5885  93%    0.36K    573       11      2292K reiser_inode_cache
 3690   3684  99%    0.09K     82       45       328K vm_area_struct
 2675   2645  98%    0.04K     25      107       100K sysfs_dir_cache
 2405   2360  98%    0.29K    185       13       740K inode_cache
 2142   2082  97%    0.03K     18      119        72K size-32
 2074   1503  72%    0.06K     34       61       136K size-64
 1891   1842  97%    0.12K     61       31       244K size-128
  814    523  64%    0.01K      2      407         8K anon_vma
  750    749  99%    0.16K     30       25       120K filp
  452    300  66%    0.02K      2      226         8K biovec-1
  305    281  92%    0.06K      5       61        20K bio
  305    256  83%    0.06K      5       61        20K biovec-4
  260    256  98%    0.19K     13       20        52K biovec-16
  260    256  98%    0.75K     52        5       208K biovec-64
  260    256  98%    1.50K     52        5       416K biovec-128
  256    256 100%    3.00K    128        2      1024K biovec-(256)
  247    242  97%    0.30K     19       13        76K proc_inode_cache
  226      9   3%    0.02K      1      226         4K ip_fib_alias
  226     16   7%    0.02K      1      226         4K tcp_bind_bucket
  200     71  35%    0.19K     10       20        40K skbuff_head_cache
  184    176  95%    0.50K     23        8        92K size-512
  156     53  33%    0.02K      1      156         4K blkdev_ioc
  155    155 100%    0.12K      5       31        20K kmem_cache
  124    119  95%    1.00K     31        4       124K size-1024
  120    120 100%    0.25K      8       15        32K size-256
  119     59  49%    0.03K      1      119         4K fs_cache
  119      9   7%    0.03K      1      119         4K ip_fib_hash
  119      8   6%    0.03K      1      119         4K fib6_nodes
  108    108 100%    4.00K    108        1       432K size-4096
   99     89  89%    1.25K     33        3       132K task_struct
   92     92 100%    2.00K     46        2       184K size-2048
   90     80  88%    0.25K      6       15        24K signal_cache
   89     89 100%    8.00K     89        1       712K size-8192
   88     80  90%    0.34K      8       11        32K sock_inode_cache
   87     77  88%    1.28K     29        3       116K sighand_cache
   87     86  98%    0.13K      3       29        12K idr_layer_cache
   80     63  78%    0.19K      4       20        16K size-192
   72     59  81%    0.41K      8        9        32K files_cache
   70     59  84%    0.56K     10        7        40K mm_struct
   65     24  36%    0.06K      1       65         4K as_arq
   62     32  51%    0.12K      2       31         8K sgpool-8
   61      7  11%    0.06K      1       61         4K uid_cache
   61      1   1%    0.06K      1       61         4K inet_peer_cache
   59     59 100%    4.00K     59        1       236K pgd


What does 'cat /proc/slabinfo' show?
I've attached my /proc/slabinfo.

Thanks :)
David
--
One login to rule them all, one login to find them. One login to bring them all,
and in the web bind them.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: slabinfo
Description: /proc/slabinfo

Attachment: pgpSgPzfEzjKy.pgp
Description: PGP Digital Signature

Attachment: binljI3qWrOjm.bin
Description: PGP Public Key


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux