Network glitches costing 15 minutes a pop

John Arbash Meinel john at arbash-meinel.com
Fri Aug 15 18:39:57 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vincent Ladeuil wrote:
>>>>>> "Mark" == Mark Hammond <mhammond at skippinet.com.au> writes:
> 
> <snip/>
>     Mark> 937.223  Exception ShortReadvError(): readv() read unknown bytes rather than
>     Mark> unknown bytes at unknown for
> 
> As you noticed in a later mail, this comes from bzrlib/transport/http/_pycurl.py:
> 
>             elif e[0] == CURLE_PARTIAL_FILE:

...

> Then you're welcome to provide some wireshark traces (I
> understand that they can be hard to get for you) :-/
> 
>     Mark> It seems to me that little network glitches aren't
>     Mark> particularly unexpected - but waiting 15 minutes when
>     Mark> it happens isn't that friendly.
> 
>     Mark> Is this something specific to Windows?  Specific to
>     Mark> pycurl?
> 
> Little is known about it, you're the first one AFAIK to report
> that behavior with such a high occurrence frequency. It may be
> pycurl, it may be windows, I'd prefer to avoid guesses without
> more data.
> 
>     Mark> Any suggestions about what we can do to make such
>     Mark> errors have less of an impact?
> 
> Yes.
> 
> Since you :
> - don't use a proxy,
> - don't need NTLM authentication,
> - don't need to verify https certificates,
> 
> try urllib instead.
> 
> Either by using http+urllib: instead of plain http: or by using
> the following plugin:

I just wanted to point you in the direction of the IRC conversation:
http://irclogs.ubuntu.com/2008/08/15/%23bzr.html

It involves lifeless, markh, spiv, spm, fullermd. There are wireshark
captures, etc. I didn't follow the whole thing, but I would guess if you
are interested, there is stuff there to look at.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkilv20ACgkQJdeBCYSNAAPEDgCgngdvHXfgwJOYlIEwFU0DMg73
h1MAoJWMxe8Jk/CCZf856x1Tsot+zZSO
=VDRq
-----END PGP SIGNATURE-----



More information about the bazaar mailing list