[tahoe-lafs-trac-stream] [tahoe-lafs] #1729: memory leak in allmydata.test.test_web
tahoe-lafs
trac at tahoe-lafs.org
Sat May 5 06:05:47 UTC 2012
#1729: memory leak in allmydata.test.test_web
-------------------------+---------------------------
Reporter: zooko | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code | Version: 1.9.1
Keywords: test memory | Launchpad Bug:
-------------------------+---------------------------
Running {{{allmydata.test.test_web}}} with {{{--until-failure}}} results
in memory usage increasing until it fails when a subprocess can't be
created:
{{{
time ./bin/tahoe @trial --rterror --until-failure allmydata.test.test_web
}}}
…
{{{
test_welcome_page_mkdir_button ...
[OK]
-------------------------------------------------------------------------------
Ran 243 tests in 22.676s
PASSED (successes=243)
Test Pass 13
allmydata.test.test_web
Grid
test_add_lease ...
[OK]
test_blacklist ...
[OK]
test_deep_add_lease ...
[OK]
test_deep_check ...
[OK]
test_deep_check_and_repair ...
[OK]
test_exceptions ...
[OK]
test_filecheck ...
[OK]
test_immutable_unknown ...
[OK]
test_mutant_dirnodes_are_omitted ...
[OK]
test_repair_html ...
[OK]
test_repair_json ...
[OK]
test_unknown ...
[OK]
IntroducerWeb
test_welcome ... Node._startService failed, aborting
[Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 12]
Cannot allocate memory
/usr/lib/python2.7/threading.py:524:__bootstrap
/usr/lib/python2.7/threading.py:551:__bootstrap_inner
/usr/lib/python2.7/threading.py:504:run
--- <exception caught here> ---
/home/zooko/playground/twisted/twisted/twisted/python/threadpool.py:167:_worker
/home/zooko/playground/twisted/twisted/twisted/python/context.py:118:callWithContext
/home/zooko/playground/twisted/twisted/twisted/python/context.py:81:callWithContext
/home/zooko/playground/tahoe-
lafs/dw/src/allmydata/util/iputil.py:224:_synchronously_find_addresses_via_config
/home/zooko/playground/tahoe-
lafs/dw/src/allmydata/util/iputil.py:238:_query
/usr/lib/python2.7/subprocess.py:679:__init__
/usr/lib/python2.7/subprocess.py:1143:_execute_child
]
calling os.abort()
real 4m41.030s
user 4m20.853s
sys 0m13.239s
}}}
This is on my Macbook Pro running Ubuntu 12.04. Tahoe is current (darcs)
trunk:
{{{
$ darcs pull
Pulling from "zooko at tahoe-lafs.org:/home/source/darcs/tahoe-lafs/trunk"...
No remote changes to pull in!
$ python setup.py update_version
running update_version
darcsver: wrote '1.9.0-r5493' into src/allmydata/_version.py
$ ./bin/tahoe --version
allmydata-tahoe: 1.9.0-r5493,
foolscap: 0.6.3.post0,
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958,
zfec: 1.4.24,
Twisted: 10.1.0,
Nevow: 0.10.0,
zope.interface: unknown,
python: 2.7.3,
platform: Linux-Ubuntu_12.04-x86_64-64bit_ELF,
pyOpenSSL: 0.12,
simplejson: 2.3.2,
pycrypto: 2.4.1,
pyasn1: unknown,
mock: 0.8.0beta3,
sqlite3: 2.6.0 [sqlite 3.7.9],
setuptools: 0.6c16dev3
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1729>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list