#1939 new defect

memory leak (during check --repair --add-lease) — at Version 14

Reported by: killyourtv Owned by: killyourtv
Priority: major Milestone: undecided
Component: code Version: 1.9.2
Keywords: Cc: killyourtv@…
Launchpad Bug:

Description (last modified by zooko)

While repairing a list of files I've had a problem with the memory usage for the tahoe process growing wildly and leading to OOM.

Attached are incident reports and screencaps of the webui's status page. I don't know if the statuses will tell you what the problem is but it'll be obvious that there is a problem.

Edit:

Oops, I neglected to report the versions:

allmydata-tahoe: 1.9.2,
foolscap: 0.6.4,
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958,
zfec: 1.4.24,
Twisted: 12.0.0,
Nevow: 0.10.0,
zope.interface: unknown,
python: 2.7.3,
platform: Linux-debian_7.0-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]

Change History (17)

Changed at 2013-04-02T21:48:57Z by killyourtv

incident #1

Changed at 2013-04-02T21:49:29Z by killyourtv

incident 2

Changed at 2013-04-02T21:50:44Z by killyourtv

mutable file retrieve status

comment:1 Changed at 2013-04-03T01:48:36Z by daira

Possibly a duplicate of #1824.

comment:2 Changed at 2013-04-03T02:19:18Z by kpreid

Dumped the flogs; I see no similarities to #1824.

comment:3 Changed at 2013-04-03T11:12:14Z by killyourtv

  • Description modified (diff)

comment:4 follow-up: Changed at 2013-04-03T17:54:51Z by zooko

Hey kytv! Good to hear from you again. By the way, have you seen the renewed interest in merging #68? Check it out. Lebek is away, so maybe you should take it over yourself.

Anyway, about this bug report: thank you for the bug report! Are you using exactly Tahoe-LAFS v1.9.2 as generated from our sources, e.g. https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-1.9.2.tar.bz2, or are you using your branch with the #68 patch, as described on OSPackages?

I have a request: change the APPNAME on line 42 of setup.py from allmydata-tahoe to something else like maybe tahoe-lafs-i2p. That way I'll never have to wonder again if someone else's "1.10.0" is the same as my "1.10.0" when someone reports a bug.

Last edited at 2014-03-05T02:48:40Z by daira (previous) (diff)

comment:5 Changed at 2013-04-03T18:00:24Z by zooko

Having looked at o.png, I sure hope it is running over i2p, because then the 2 to 10 seconds round-trip times to storage servers are somewhat justifiable. ;-) Seriously, please confirm what specific version it is...

comment:6 Changed at 2013-04-03T18:00:34Z by zooko

  • Owner changed from davidsarah to killyourtv

comment:7 Changed at 2013-04-03T20:20:11Z by killyourtv

Yes, this is over I2P (the build from OSPackages)...and I'll be sure to change APPNAME in future revisions.

RE: #68 -- I need to try reintegrating the multiple introducer support into trunk. I've not been keeping up on it recent developments as much as I'd like to.

comment:8 in reply to: ↑ 4 ; follow-up: Changed at 2013-04-04T04:52:01Z by daira

Replying to zooko:

I have a request: change the APPNAME on line 42 of setup.py from allmydata-tahoe to something else like maybe tahoe-lafs-i2p. That way I'll never have to wonder again if someone else's "1.10.0" is the same as my "1.10.0" when someone reports a bug.

That would break node directories created by earlier versions (or by the official branch), due to #1159. It would be nice to report the git branch name in the version info, but that could be done independently of changing the appname.

Last edited at 2014-03-05T02:49:13Z by daira (previous) (diff)

comment:9 in reply to: ↑ 8 Changed at 2013-04-23T19:44:42Z by zooko

killyourtv: despite daira's comment:8, I would still appreciate it if you would change the APPNAME as described in comment:4.

comment:10 follow-ups: Changed at 2013-04-24T13:49:01Z by daira

I really think that changing the appname, in any branch, before fixing #1159 is going to cause far more problems than it can solve. I'll file a ticket to include the branch name (and maybe another identifying string separate from the appname that is easier to change) in the version info.

comment:11 in reply to: ↑ 10 Changed at 2013-04-24T13:59:19Z by daira

Replying to daira:

I'll file a ticket to include the branch name (and maybe another identifying string separate from the appname that is easier to change) in the version info.

Filed as #1953.

comment:12 in reply to: ↑ 10 ; follow-up: Changed at 2013-04-24T22:03:52Z by zooko

Replying to daira:

I really think that changing the appname, in any branch, before fixing #1159 is going to cause far more problems than it can solve. I'll file a ticket to include the branch name (and maybe another identifying string separate from the appname that is easier to change) in the version info.

Argh, fine but then this makes me feel like #1159 is more urgent. ☺

comment:13 in reply to: ↑ 12 Changed at 2013-04-25T01:48:46Z by daira

Replying to zooko:

Argh, fine but then this makes me feel like #1159 is more urgent. ☺

I would have bumped its priority, but it already has priority 'major' and milestone 1.11.

comment:14 Changed at 2013-05-21T20:32:53Z by zooko

  • Description modified (diff)
  • Priority changed from normal to major

This ticket is important to me. Seems like a bad bug.

Note: See TracTickets for help on using tickets.