[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 17:03:28 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 zooko):

 By the way, here is the output from fdleakfinder on markberger's script
 that opened 4000 dbs one after another:

 {{{
 --- high water mark:  15
 {3: ('"/home/zooko/playground/tahoe-lafs/src/allmydata/__init__.py",
 O_RDONLY',
      '1373301887.690948 open("/home/zooko/playground/tahoe-
 lafs/src/allmydata/__init__.py", O_RDONLY) = 3 <0.000023>\n'),
  4: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/__init__.py", O_RDONLY',
      '1373301887.804392 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/__init__.py", O_RDONLY) = 4
 <0.000023>\n'),
  5: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/formless/webform.py", O_RDONLY',
      '1373301888.392319 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/formless/webform.py", O_RDONLY) = 5
 <0.000023>\n'),
  6: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/static.py", O_RDONLY',
      '1373301888.394230 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/static.py", O_RDONLY) = 6
 <0.000023>\n'),
  7: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/http.py",
 O_RDONLY',
      '1373301888.785862 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/web/http.py", O_RDONLY) = 7 <0.000031>\n'),
  8: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/reactor.py", O_RDONLY',
      '1373301888.818183 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/reactor.py", O_RDONLY) = 8 <0.000033>\n'),
  9: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/default.py", O_RDONLY',
      '1373301888.819526 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/default.py", O_RDONLY) = 9 <0.000031>\n'),
  10: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/epollreactor.py", O_RDONLY',
       '1373301888.820879 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/epollreactor.py", O_RDONLY) = 10
 <0.000032>\n'),
  11: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/posixbase.py", O_RDONLY',
       '1373301888.822672 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/posixbase.py", O_RDONLY) = 11 <0.000032>\n'),
  12: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py",
 O_RDONLY',
       '1373301888.863697 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/tcp.py", O_RDONLY) = 12 <0.000033>\n'),
  13: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/_newtls.py", O_RDONLY',
       '1373301888.865874 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/internet/_newtls.py", O_RDONLY) = 13 <0.000032>\n'),
  14: ('"/home/zooko/playground/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/protocols/tls.py",
 O_RDONLY',
       '1373301888.869115 open("/home/zooko/playground/tahoe-
 lafs/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-linux-
 x86_64.egg/twisted/protocols/tls.py", O_RDONLY) = 14 <0.000031>\n'),
  15: ('"/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", O_RDONLY',
       '1373301888.884666 open("/usr/lib/python2.7/dist-
 packages/OpenSSL/__init__.py", O_RDONLY) = 15 <0.000037>\n'),
  16: ('"/usr/lib/python2.7/plat-linux2/DLFCN.py", O_RDONLY',
       '1373301888.898436 open("/usr/lib/python2.7/plat-linux2/DLFCN.py",
 O_RDONLY) = 16 <0.000029>\n'),
  17: ('"/usr/lib/python2.7/plat-linux2/DLFCN.pyc", O_RDONLY',
       '1373301888.898649 open("/usr/lib/python2.7/plat-linux2/DLFCN.pyc",
 O_RDONLY) = 17 <0.000030>\n')}
 }}}

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


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