[tahoe-lafs-trac-stream] [tahoe-lafs] #1910: memory leak on 'tahoe get'
tahoe-lafs
trac at tahoe-lafs.org
Thu Jan 31 08:09:47 UTC 2013
#1910: memory leak on 'tahoe get'
----------------------------------+----------------------------
Reporter: T_X | Owner: davidsarah
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.9.2
Keywords: memoryleak,immutable | Launchpad Bug:
----------------------------------+----------------------------
When trying to retrieve a file either via sshfs or via 'tahoe get' I seem
to have a memory leak. Every 'tahoe get' on a 350MB large file seems to
grow the memory usage of the tahoe daemon by about 20MB:
{{{
$ for i in `seq 1 5`; do ps -o %mem,cmd 2303; tahoe get
"root:path/to/myfile" /dev/null; done; ps -o %mem,cmd 2303
%MEM CMD
23.3 /usr/bin/python /usr/bin/tahoe start
root:path/to/myfile retrieved and written to /dev/null
%MEM CMD
26.8 /usr/bin/python /usr/bin/tahoe start
root:path/to/myfile retrieved and written to /dev/null
%MEM CMD
30.9 /usr/bin/python /usr/bin/tahoe start
root:path/to/myfile retrieved and written to /dev/null
%MEM CMD
34.7 /usr/bin/python /usr/bin/tahoe start
root:path/to/myfile retrieved and written to /dev/null
%MEM CMD
38.8 /usr/bin/python /usr/bin/tahoe start
root:path/to/myfile retrieved and written to /dev/null
%MEM CMD
39.1 /usr/bin/python /usr/bin/tahoe start
$ free -m
total used free shared buffers cached
Mem: 497 267 229 0 7 37
-/+ buffers/cache: 222 274
Swap: 258 0 258
}}}
'myfile' is an immutable file according to the web interface. sshfs is
unmounted for tahoe, so the 'tahoe get's above should be the only tahoe
commands invoked during that time.
Versions (as provided by Debian wheezy):
{{{
allmydata-tahoe: 1.9.2, foolscap: 0.6.4, pycryptopp: 0.5.29, zfec: 1.4.5,
Twisted: 12.0.0, Nevow: 0.10.0, zope.interface: unknown, python: 2.7.3rc2,
platform: Linux-debian_wheezy/sid-x86_64-64bit_ELF, pyOpenSSL: 0.13,
simplejson: 2.5.2, pycrypto: 2.6, pyasn1: unknown, mock: 0.8.0, sqlite3:
2.6.0 [sqlite 3.7.13], setuptools: 0.6 [distribute]
}}}
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 unknown unknown
GNU/Linux
Encoding parameters: shares.needed = 1, shares.happy = 2.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1910>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list