[tahoe-lafs-trac-stream] [tahoe-lafs] #2015: leasedb: high file descriptor usage exposed by tests

tahoe-lafs trac at tahoe-lafs.org
Mon Jul 8 14:45:31 UTC 2013


#2015: leasedb: high file descriptor usage exposed by tests
-------------------------+-------------------------------------------------
     Reporter:  daira    |      Owner:  markberger
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.10.0
  storage                |   Keywords:  leasedb tests reliability file-
   Resolution:           |  descriptor leak
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by markberger):

 I called dbtuil.get_db 4000 times like in the above example and I did not
 receive any fds errors.


 {{{
 for i in range(4000):
     dbfile = "test-db-%d" % i
     conn = get_db(dbfile, create_version=(LEASE_SCHEMA_V1, 1),
                   journal_mode="WAL",
                   synchronous="NORMAL")
 }}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2015#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list