Buildbot: over time memory usage of the buildbot master process gets unreasonable

Bug #419421 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad Buildbot Configuration
Won't Fix
High
Unassigned

Bug Description

See https://pastebin.canonical.com/21521/ - buildbot is using 1331M Virtual, 427M Resident memory.

Tom Haddon (mthaddon)
Changed in launchpad-foundations:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Tom Haddon (mthaddon) wrote :

For reference, here's what it looks like just after a restart: https://pastebin.canonical.com/21523/

Revision history for this message
Tom Haddon (mthaddon) wrote :

Just had another case of this. See https://pastebin.canonical.com/22438/ for details. This paste shows two buildbot instances before and after one of them was restarted (the second instance is the staging buildbot server, which was restarted a little earlier).

Revision history for this message
Tom Haddon (mthaddon) wrote :

And another - https://pastebin.canonical.com/23210/ - using 1G virtual 384M resident memory. Had to restart as the box was swapping.

Revision history for this message
Gavin Panella (allenap) wrote :

I wonder if this is related to bug #419408...

Revision history for this message
Gavin Panella (allenap) wrote :

To clarify what I meant in comment #4:

I described a possible circular reference problem in bug #419408, which might be impossible to garbage collect because of the presence of __del__ methods. I don't know where the circular reference might be, I'm just speculating.

However, in the code mentioned, processes not being collected would be congruent with problems during gc. Perhaps the fix for bug #419408 will help with this bug.

That's a lot of possiblys, mights, perhapses and speculation.

Tom Haddon (mthaddon)
tags: added: canonical-losa-lp
Curtis Hovey (sinzui)
Changed in launchpad:
status: Confirmed → Triaged
William Grant (wgrant)
affects: launchpad → lpbuildbot
Revision history for this message
Julian Edwards (julian-edwards) wrote :

We should consider using Jenkins instead of fixing this.

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

indeed.

Changed in lpbuildbot:
status: Triaged → Won't Fix
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.