| Summary: | Exception Maximum PB reference count exceeded. | ||
|---|---|---|---|
| Product: | [Infrastructure] AutoBuilder | Reporter: | Michael Halstead <mhalstead> |
| Component: | autobuilder | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | infras.ab.watcher, Infras.watcher, paul, randy.macleod |
| Version: | 6.0 | ||
| Target Milestone: | 6.1 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Michael Halstead
2026-04-12 01:53:16 UTC
I've added a cronjob that runs every three hours. It will restart any idle worker resetting the MAX_BROKER_REFS. Ideally we'd track down why we are leaking refs and stop that. Alternatively we could look into switching from pb to msgpack which does not have limits like this. Let's watch and see how this approach works out. BROKER_REF exhaustion appears to be fixed. The restart job was causing a race between restarts and the job schedulers. I’ve moved it so that it starts 8 minutes after the hour, which should immediately resolve most of the issues. We’re also going to update the restart script so that it pauses idle workers, waits 5 minutes, then checks state before taking further action. Script changes are up at https://git.yoctoproject.org/yocto-autobuilder-helper/diff/scripts/restart-if-idle.sh and this problem should be worked around indefinitely. |