Comment 1 for bug 589534

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 589534] [NEW] imports can hang when talking to free.hands.com

On Fri, 04 Jun 2010 05:25:39 -0000, Robert Collins <email address hidden> wrote:
> Public bug reported:
>
> 1000 26624 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py exactimage
> 1000 26625 0.0 0.1 185336 43380 ? S May30 0:00 | \_ /usr/bin/python /srv/package-import.canonical.com/new/scripts/import_package.py exactimage
>
> strace -p 26625
> Process 26625 attached - interrupt to quit
> recvfrom(16,
>
> import_pa 26625 pkg_import 16u IPv4 194966901 TCP
> jubany.canonical.com:40179->free.hands.com:www (ESTABLISHED)
>
> 1000 26685 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py otags
> 1000 26686 0.0 0.1 184852 42940 ? S May30 0:00 | \_ /usr/bin/python /srv/package-import.canonical.com/new/scripts/import_package.py otags
>
> import_pa 26686 pkg_import 13u IPv4 194967021 TCP
> jubany.canonical.com:40182->free.hands.com:www (ESTABLISHED)

In particular this is the machine that we pull Debian packages from, so
it is either getting the Sources files, or a particular source package
when this happens.

What strategies would be good for preventing this from happening aside
from threads/similar and timeouts?

We should also look to see if we can work out what went wrong in this
case and fix that cause.

Thanks,

James