[tahoe-dev] Tahoe hangs during write operations.

Oisin O'Maley ninja.gofer at gmail.com
Wed Dec 15 11:23:39 UTC 2010


Hi,

I'm running tahoe-1.8.1 connected to the test grid on a Gentoo amd64 system.
When doing any operation in the web-ui that involves write access (creating
folder, uploading file, deleting) tahoe appears to hang/time out for a long
time before the operation is completed. Read operations
(downloading, traversing directory) work fine, even when waiting for write
to complete.

The following error is thrown in twistd.log;

> 2010-12-15 09:57:07+0000 [-] foolscap.pb.Listener starting on 41202

2010-12-15 09:57:07+0000 [-] twisted.protocols.ftp.FTPFactory starting on
> 8021

2010-12-15 09:57:07+0000 [-] Starting factory
> <twisted.protocols.ftp.FTPFactory instance at 0x3920200>

2010-12-15 09:57:07+0000 [-] nevow.appserver.NevowSite starting on 3456

2010-12-15 09:57:07+0000 [-] Starting factory <nevow.appserver.NevowSite
> instance at 0x300b4d0>

2010-12-15 09:57:07+0000 [-] My pid: 6258

2010-12-15 09:57:07+0000 [-] twisted.internet.protocol.DatagramProtocol
> starting on 53981

2010-12-15 09:57:07+0000 [-] Starting protocol
> <twisted.internet.protocol.DatagramProtocol instance at 0x3011170>

2010-12-15 09:57:07+0000 [-] (Port 53981 Closed)

2010-12-15 09:57:07+0000 [-] Stopping protocol
> <twisted.internet.protocol.DatagramProtocol instance at 0x3011170>

2010-12-15 10:15:31+0000 [-] Unhandled error in Deferred:

2010-12-15 10:15:31+0000 [-] Unhandled Error

Traceback (most recent call last):

  File "/usr/lib64/python2.6/site-packages/nevow/appserver.py", line 188, in
> _cbFinishRender

    return self.gotPageContext(pageContext)

  File "/usr/lib64/python2.6/site-packages/nevow/appserver.py", line 169, in
> gotPageContext

    self._cbFinishRender, pageContext

  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line
> 260, in addCallback

    callbackKeywords=kw)

  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line
> 249, in addCallbacks

    self._runCallbacks()

--- <exception caught here> ---

  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line
> 441, in _runCallbacks

    self.result = callback(self.result, *args, **kw)

  File "/usr/lib64/python2.6/site-packages/nevow/appserver.py", line 181, in
> _cbFinishRender

    self.finishRequest(  True )

  File "/usr/lib64/python2.6/site-packages/nevow/appserver.py", line 176, in
> finishRequest

    server.Request.finish(self)

  File "/usr/lib64/python2.6/site-packages/twisted/web/http.py", line 900,
> in finish

    "Request.finish called on a request after its connection was lost; "

exceptions.RuntimeError: Request.finish called on a request after its
> connection was lost; use Request.notifyFinish to keep track of this.



tahoe --version-and-path;

> allmydata-tahoe: 1.8.1 (/usr/lib64/python2.6/site-packages), foolscap:
> 0.5.1 (/usr/lib64/python2.6/site-packages), pycryptopp: 0.5.25
> (/usr/lib64/python2.6/site-packages), zfec: 1.4.7
> (/usr/lib64/python2.6/site-packages), Twisted: 10.1.0
> (/usr/lib64/python2.6/site-packages), Nevow: 0.10.0
> (/usr/lib64/python2.6/site-packages), zope.interface: 3.5.3
> (/usr/lib64/python2.6/site-packages), python: 2.6.5 (/usr/bin/python2.6),
> platform: Linux-gentoo_2.0.1-x86_64-64bit_ELF (None), sqlite: 3.7.2
> (unknown), simplejson: 2.1.2 (/usr/lib64/python2.6/site-packages),
> distribute: 0.6.14 (/usr/lib64/python2.6/site-packages), argparse: 1.1
> (/usr/lib64/python2.6/site-packages), pycrypto: 2.3
> (/usr/lib64/python2.6/site-packages), pyOpenSSL: 0.11
> (/usr/lib64/python2.6/site-packages), pyutil: 1.7.12
> (/usr/lib64/python2.6/site-packages), zbase32: 1.1.2
> (/usr/lib64/python2.6/site-packages), setuptools: 0.6
> (/usr/lib64/python2.6/site-packages), pyasn1: 0.0.11a
> (/usr/lib64/python2.6/site-packages), pysqlite: 2.4.1 (/usr/lib64/python2.6)


Any help with fixing this would be greatly appreciated.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20101215/4a6ed0e7/attachment.html>


More information about the tahoe-dev mailing list