xfs
[Top] [All Lists]

XFS mem leak ?

To: Linux XFS List <linux-xfs@xxxxxxxxxxx>
Subject: XFS mem leak ?
From: Mihai RUSU <dizzy@xxxxxxxxx>
Date: Tue, 7 Jan 2003 15:04:43 +0200 (EET)
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi

I have compiled and I am running late CVS version (SGI XFS
CVS-2002-11-30_06:00_UTC with no debug enabled). I have noticed messages
in the kernel log about "Out of memory: killing process...", but before
upgrading the kernel I have never seen any such messages. The machine is
over 2GB of memory and usually free reports 500mb used (the rest beeing
cached). This is cat /proc/slabinfo | grep xfs

xfs_chashlist      60926  79588     16  394  394    1 :  252  126
xfs_ili            25897  36596    140 1307 1307    1 :  252  126
xfs_ifork              0      0     56    0    0    1 :  252  126
xfs_efi_item          60     60    260    4    4    1 :  124   62
xfs_efd_item          60     60    260    4    4    1 :  124   62
xfs_buf_item         557    598    148   23   23    1 :  252  126
xfs_dabuf            202    202     16    1    1    1 :  252  126
xfs_da_state          22     22    336    2    2    1 :  124   62
xfs_trans            143    143    592   11   11    2 :  124   62
xfs_inode         141896 175850    400 17585 17585    1 :  124   62
xfs_btree_cur         58     58    132    2    2    1 :  252  126
xfs_bmap_free_item    252    253     12    1    1    1 :  252  126

If I remember well before upgrade the xfs_inode usage was arround 50000.
This is xfs_info on the XFS filesystems mounted on that machine:

# xfs_info /mnt/s1
meta-data=/mnt/s1                isize=256    agcount=35, agsize=1048576 blks
data     =                       bsize=4096   blocks=35830966, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096
log      =external               bsize=4096   blocks=32768
realtime =none                   extsz=65536  blocks=0, rtextents=0

# xfs_info /mnt/s2
meta-data=/mnt/s2                isize=256    agcount=35, agsize=1048576 blks
data     =                       bsize=4096   blocks=35830966, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096
log      =external               bsize=4096   blocks=32768
realtime =none                   extsz=65536  blocks=0, rtextents=0

Is that usage reported by slabinfo ok ?

Thanks

----------------------------
Mihai RUSU

Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.


<Prev in Thread] Current Thread [Next in Thread>
  • XFS mem leak ?, Mihai RUSU <=