mass importer doesn't handle hung-inactive processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Medium
|
Unassigned | ||
Ubuntu Distributed Development |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
the mass importer doesn't handle hung, inactive processes. There is a job system in launchpad itself that can run many jobs, perhaps we should just delete the mass-importer and run things from that job system?
The hung jobs looked like:
1000 8754 4.9 0.1 294968 56244 ? Sl May04 2190:13 /usr/bin/python /srv/package-
1000 29086 0.0 0.0 3944 564 ? S May21 0:00 \_ /bin/sh -c import_package.py python-unit
1000 29087 0.0 0.0 142920 25104 ? S May21 0:00 | \_ /usr/bin/python /srv/package-
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-
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-
1000 26688 0.0 0.0 3944 560 ? S May30 0:00 \_ /bin/sh -c import_package.py tuareg-mode
1000 26689 0.0 0.1 184844 42988 ? S May30 0:00 | \_ /usr/bin/python /srv/package-
1000 26797 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py exiv2
1000 26798 0.0 0.1 184852 42956 ? S May30 0:00 | \_ /usr/bin/python /srv/package-
1000 26804 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py libunistring
1000 26805 0.0 0.1 184720 42804 ? S May30 0:00 | \_ /usr/bin/python /srv/package-
1000 26807 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py gtk2-engines-
1000 26808 0.0 0.1 185364 43268 ? S May30 0:00 | \_ /usr/bin/python /srv/package-
1000 26810 0.0 0.0 3944 564 ? S May30 0:00 \_ /bin/sh -c import_package.py ptlib
1000 26811 0.0 0.1 184860 42960 ? S May30 0:00 \_ /usr/bin/python /srv/package-
pkg_import@
Process 29087 attached - interrupt to quit
write(2, " fixed=\"getA"..., 20480 <unfinished ...>
Related branches
- James Westby: Approve
- John A Meinel: Approve
-
Diff: 279 lines (+116/-18)3 files modifiedicommon.py (+52/-1)
mass_import.py (+14/-2)
tests.py (+50/-15)
Changed in launchpad-code: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
Changed in udd: | |
status: | In Progress → Fix Released |
Changed in launchpad: | |
status: | Triaged → Invalid |
Robert, why add a task for launchpad-code?