branch-rewrite.py uses too much RAM on developer machines
Bug #806361 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
1693 root 20 0 537m 185m 9920 S 0 5.0 0:13.77 branch-rewrite. py
Also, it runs as root which is terrible.
We should be able to start this service on demand.
tags: | added: infrastructure |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
To post a comment you must log in.
I imagine the ram usage comes from importing launchpad and setting up the zcml and so on. If one was willing to write some raw sql and not worry about code reuse, it could probably be much reduced.
For the root thing, a wrapper than dropped privileges and exec-ed would be appropriate (it's what happens in production I think)