[tahoe-lafs-trac-stream] [tahoe-lafs] #2015: leasedb: high file descriptor usage exposed by tests
tahoe-lafs
trac at tahoe-lafs.org
Fri Jul 5 16:04:21 UTC 2013
#2015: leasedb: high file descriptor usage exposed by tests
-------------------------------------------------+-------------------------
Reporter: daira | Owner:
Type: defect | markberger
Priority: major | Status: new
Component: code-storage | Milestone: 1.11.0
Keywords: leasedb tests reliability file- | Version: 1.10.0
descriptor leak | Launchpad Bug:
-------------------------------------------------+-------------------------
Running tests on the leasedb or cloud-merge branches may cause the
{{{trial}}} process to run out of file descriptors. This happens more
readily on platforms where the default fd limit is small (e.g. 256 on Mac
OS X), or when using {{{synchronous = NORMAL}}} or {{{FULL}}} (as opposed
to {{{OFF}}}) options to sqlite for the leasedb.
If there is a file descriptor leak, we should fix it or work around it;
otherwise we should use [source:src/allmydata/util/iputil.py
iputil.increase_rlimits()] to increase the number of fds available on
platforms where the limits are too small (as we do in node processes).
See also #1870 for a possibly-related performance regression on the
leasedb branches.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2015>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list