Thu 05 Feb 2009 08:17:41 PM UTC, original submission:
I have memory increase in newest glusterfs client glusterfs-2.0.0rc1:
Leak is about 1 Mb per minute during usage. For example
# ps aux|grep glusterfs
root 16674 1.8 2.6 246676 216344 ? Ssl 10:25 5:06 glusterfs -f client.vol /mnt/gluster/
-------------------------------------------------------------
client config:
cat client.vol
volume home1
type protocol/client
option transport-type tcp/client
option remote-host xx.xx.xx.xx # IP address of the remote brick
option remote-subvolume home # name of the remote volumei
option transport-timeout 30
end-volume
volume home2
type protocol/client
option transport-type tcp/client
option remote-host xx.xx.xx.xx # IP address of the remote brick
option remote-subvolume home # name of the remote volume
option transport-timeout 10
end-volume
volume home-ha
type cluster/ha
subvolumes home1 home2
end-volume
----------------------------------------------------------------
client machine is 64bit kernel 2.6.25.4
fuse is compiled inside kernel
Leak is present with both standard fuse 2.7.4 and your custom fuse
I logged with WARNING level, there is nothing in log file, except
2009-02-05 10:02:45 E [client-protocol.c:263:call_bail] home2: activating bail-out. pending frames = 1. last sent = 2009-02-05 10:02:29. last received = 2009-02-05 10:02:29. transport-timeout = 10
2009-02-05 10:02:45 C [client-protocol.c:298:call_bail] home2: bailing transport
2009-02-05 10:02:45 E [saved-frames.c:148:saved_frames_unwind] home2: forced unwinding frame type(1) op(OPEN)
2009-02-05 10:25:34 W [fuse-bridge.c:2526:fuse_thread_proc] fuse: unmounting /mnt/gluster/
2009-02-05 10:25:34 W [glusterfsd.c:775:cleanup_and_exit] glusterfs: shutting down
-------------------------------------------------------------
server1 configs:
volume posix
type storage/posix
option directory /home2
end-volume
volume brick
type features/posix-locks
subvolumes posix
end-volume
volume krishna
type protocol/client
option transport-type tcp/client
option remote-host xx.xx.xx.xx
option remote-subvolume brick
end-volume
volume rama
type protocol/client
option transport-type tcp/client
option remote-host xx.xx.xxx.xx
option remote-subvolume brick
end-volume
volume home
type cluster/afr
option read-subvolume krishna
subvolumes krishna rama
end-volume
volume server
type protocol/server
option transport-type tcp/server
# solaire tornado
option auth.ip.brick.allow *
option auth.ip.home.allow xxx.xx.xxx.xxx,xx.xx.xxx.xx
subvolumes brick home
end-volume
----------------------------------------------------------------
server2 config:
volume posix
type storage/posix
option directory /home2
end-volume
volume brick
type features/posix-locks
subvolumes posix
end-volume
#volume brick
# type performance/io-threads
# option thread-count 8
# subvolumes locks
#end-volume
volume krishna
type protocol/client
option transport-type tcp/client
option remote-host 64.88.252.51
option remote-subvolume brick
end-volume
volume rama
type protocol/client
option transport-type tcp/client
option remote-host 64.88.252.15
option remote-subvolume brick
end-volume
volume home
type cluster/afr
option read-subvolume rama
subvolumes krishna rama
end-volume
volume server
type protocol/server
option transport-type tcp/server
option auth.ip.brick.allow xx.xx.xx.xx
option auth.ip.home.allow xx.xx.xx.xx
subvolumes brick home
end-volume
glusterfs server memory is VZS 100 Mb, although it started with 33. Maybe they also leak something, but not much
Let me know if you need any other info.
Hrvoje
|