Tr : NFSv4 idmapd memory consumption problem

pierre_stephane.baton at alcatelaleniaspace.com pierre_stephane.baton at alcatelaleniaspace.com
Fri Sep 1 04:08:58 EDT 2006


This is the output of mount :

As you can't see, we have a little use of nfs...

;-)

/dev/md1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md0 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/md3 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
serverid:/mountpoint on /mountpoint type nfs 
(rw,soft,bg,addr=192.168.1.100)
automount(pid2103) on /mountpoint type autofs 
(rw,fd=6,pgrp=2103,minproto=2,maxproto=4)
automount(pid2328) on /mountpoint type autofs 
(rw,fd=6,pgrp=2328,minproto=2,maxproto=4)
automount(pid2438) on /mountpoint type autofs 
(rw,fd=6,pgrp=2438,minproto=2,maxproto=4)
automount(pid2507) on /mountpoint type autofs 
(rw,fd=6,pgrp=2507,minproto=2,maxproto=4)
automount(pid2557) on /mountpoint type autofs 
(rw,fd=6,pgrp=2557,minproto=2,maxproto=4)
automount(pid2627) on /mountpoint type autofs 
(rw,fd=6,pgrp=2627,minproto=2,maxproto=4)
automount(pid2681) on /mountpoint type autofs 
(rw,fd=6,pgrp=2681,minproto=2,maxproto=4)
automount(pid2812) on /mountpoint type autofs 
(rw,fd=6,pgrp=2812,minproto=2,maxproto=4)
automount(pid2886) on /mountpoint type autofs 
(rw,fd=6,pgrp=2886,minproto=2,maxproto=4)
automount(pid2911) on /mountpoint type autofs 
(rw,fd=6,pgrp=2911,minproto=2,maxproto=4)
/mountpoint.vbs on /mountpoint type mvfs (rw,viewroot)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=a0792f94.207411d6.aabc.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=ae392ff3.207411d6.aabf.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=b8e93039.207411d6.aac3.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c0a9306e.207411d6.aac6.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c6a93094.207411d6.aaca.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=d0c930d8.207411d6.aace.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=faa7b1f5.3cd711d6.b7e3.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=58225d60.40d111d6.ae03.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=61125d9c.40d111d6.ae07.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=68d25dd2.40d111d6.ae0a.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=6b325de0.40d111d6.ae0e.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=6e225df6.40d111d6.ae11.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=71225e08.40d111d6.ae19.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=f79b3666.507011d6.a14c.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=2dbdba3b.749411d6.ab0e.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=5ccdbb75.749411d6.ab14.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=7a9dbc3f.749411d6.ab19.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=825dbc70.749411d6.ab1f.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3d9f4ce8.b74311d1.b432.00:01:80:86:08:a4)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=80743e26.f69611d3.b4c2.00:01:80:aa:a6:0a)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=2e5dd1d3.fa6611d3.ab46.00:01:80:aa:a6:0a)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=138537c8.01c311d5.a3b6.00:01:80:aa:a6:0a)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=61db2011.dd1811d6.a6f8.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=690b2040.dd1811d6.a6fe.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=6c9b205a.dd1811d6.a702.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=715b2078.dd1811d6.a707.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=b5296380.fbd311d6.ab25.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=ba8963a7.fbd311d6.ab2a.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=be1963bc.fbd311d6.ab30.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c67963f5.fbd311d6.ab35.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=9ebcde5d.11ce11d7.b384.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=a71cde97.11ce11d7.b389.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=ac7cdebb.11ce11d7.b38e.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=b00cded3.11ce11d7.b393.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=7238bc73.7a1811d7.b90d.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=bb92b417.daf111d7.a421.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=d072b4a2.daf111d7.a428.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=d532b4c3.daf111d7.a42e.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=da92b4e4.daf111d7.a435.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=e407d8e7.ad8511d8.a7ef.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=eb27d915.ad8511d8.a7f5.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=ef57d931.ad8511d8.a7fa.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=40b7e20a.ad8711d8.a805.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=6f20cee7.0bd711d9.b070.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=cb8217e7.5dfc11d8.ae55.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=d8a2183f.5dfc11d8.ae59.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=dcc21859.5dfc11d8.ae5d.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=dfc2186f.5dfc11d8.ae60.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=9c09dcd8.985c11d8.aedf.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=6c8d1e6e.e78711d8.a915.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=20546c7c.708411d9.aa49.00:01:83:0a:ee:55)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=20403691.960911d9.ba2c.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3520371d.960911d9.ba30.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3950373b.960911d9.ba33.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3bb03749.960911d9.ba37.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=8f0b4170.dcd211d9.a865.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=959b419e.dcd111d9.a869.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=bed51f9c.ea3511d9.b5f6.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c2651fb4.ea3511d9.b5fa.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c5f51fcc.ea3511d9.b5fe.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=cac51fee.ea3511d9.b601.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=ce552006.ea3511d9.b605.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=9ef19557.0b1011da.9473.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=7bc5f467.1a0511da.8c50.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=e8e8d7e2.b65011d9.bbab.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=1e88d94a.b65111d9.bbaf.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=2518d975.b65111d9.bbb3.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3528d9e3.b65111d9.bbb6.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=38c8d9f9.b65111d9.bbba.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=3c58da11.b65111d9.bbbe.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=7ae6bc06.666e11da.98de.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=c81707dc.667911da.9a8b.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=1d7d238b.924d11da.91de.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=81d905fe.c3c111da.8c1c.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=22290a33.c3c211da.8c4c.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=7d590c96.c3c211da.8c86.00:01:80:b6:58:af)
/mountpoint.vbs on /mountpoint type mvfs 
(uuid=99590d50.c3c111da.8cb7.00:01:80:b6:58:af)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.100)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.100)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.100)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.100)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.100)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,addr=192.168.1.101)
serverid:/mountpoint on /mountpoint type nfs 
(rw,nosuid,intr,setuid,addr=192.168.1.100)


________________________________
Pierre-Stéphane BATON
DI - OI/IT
Consultant Trasys-OSI
Support informatique Unix/Linux
E01-H14-L44 - Tel :+32 (0)71 442797

Alcatel Alenia Space ETCA (DI/SYS)
Rue Chapelle BEAUSSART, 101
B-6032  Mont-sur-Marchienne



"J. Bruce Fields" <bfields at fieldses.org> 
31/08/2006 20:32

A
pierre_stephane.baton at alcatelaleniaspace.com
cc
nfsv4 at linux-nfs.org
Objet
Re: Tr : NFSv4 idmapd memory consumption problem






On Thu, Aug 31, 2006 at 04:23:20PM +0200, 
pierre_stephane.baton at alcatelaleniaspace.com wrote:
> More than you think, with Clearcase's vobs (with their #{|][# of virtual 

> file system) and others, if the changes of the mounted directories are 
> stored in the memory, the giga used is not realy strange. As those WS 
are 
> up for 17 days now, some informations has to  be logged by idmapd or be 
> deleted, or it should use all RAM memory.

OK.  Actually looking at the names of clients in that directory, I guess
you've seen some a few hundred thousand of them; divide that into a gig,
and it looks like we're leaking a few K on each mount.

That's weird.  Well, it'd probably be easy enough to reproduce:

                 while true:
                                 mount some nfs filesystem
                                 unmount it

and watch idmapd.

--b.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/nfsv4/attachments/20060901/f7b1cf95/attachment-0001.htm


More information about the NFSv4 mailing list