• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 36366677543
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: private/cpardill/CP-315784-rate-limit-fixes
DEFAULT BRANCH: master
Ran 28 Sep 2026 01:38AM UTC
Jobs 1
Files 34
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Sep 2026 01:25AM UTC coverage: 80.459%. Remained the same
36366677543

push

github

web-flow
[Backport] CA-431283: Fix forkexecd exhausting dom0 memory (#7293)

The problem

A forkexecd helper allocates gigabytes memory in once and the control
domain runs out of memory, then it's killed by the OOM killer. forkexecd
is only the amplifier but the defect is in the tracing exporter.

Destination.Http.export wraps its socket in_channel/out_channel. It only
closes its socket but never closes in_channel/out_channel. So the
channel stills holds the socket number. An export that dies mid-body
leaves the buffer dirty (this can happen when receive 3xx).

When a forkexecd control socket later inherits that descriptor number,
the next flush (e.g. when xapi stops, it flushes all channels) writes
the buffered span JSON into it. The supervisor in wait_for_dontwaitpid
reads the first 12 bytes as a length header. span JSON carries
epoch-microsecond timestamps, so that window can be 12 digits, and
read_raw_rpc passes the value to Bytes.make unbounded.

The fixes

Each channel now gets a duplicated descriptor of its own, closed under
Fun.protect, so no descriptor leaks.
Reject a message length outside 0 to 16 MB, so a corrupt 12-byte header
cannot make read_raw_rpc allocate and zero gigabytes.
Print more logs so we can observe this easily in the future.
Regard 3xx as error so it can be observed.

Backport of PR #7275

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 36366677543.1 28 Sep 2026 01:38AM UTC 34
80.46
GitHub Action Run
Source Files on build 36366677543
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36366677543
  • f4483301 on github
  • Prev Build on 26.1-lcm (#35979305362)
  • Next Build on 26.1-lcm (#36439983451)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc