bzr scripts can cause thrashing

Bug #506209 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad code imports
Triaged
High
Unassigned
Launchpad itself
Triaged
High
Unassigned

Bug Description

This was discussed previously but I thought I'd track it with a bug.

It would be interesting to run some bzr processes (import, mirror, maybe loggerhead) under a ulimit that signals them if they use too much memory, cpu, or other resources. This would allow a gradual ratcheting-down of those values as has been done with oops timeouts. For this to work, we'd have to make sure that when the process is signalled it does give enough data to allow useful debugging - at minimum a stacktrace; some memory info would be nice too.

Tim Penhey (thumper)
tags: added: branch-puller code-import codehosting-ssh
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jonathan Lange (jml) wrote :

This bug is pretty big. The SSH server child process part of it is tracked in bug 610965.

Revision history for this message
Robert Collins (lifeless) wrote :

What bits are left for this bug? Some parts of it are definitely done...

Changed in launchpad:
importance: Medium → High
summary: - run bzr scripts under a ulimit
+ bzr scripts can cause thrashing
Colin Watson (cjwatson)
Changed in lp-codeimport:
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.