Cirrus CI: Linker OOMKilled #22059

issue ryanofsky openend this issue on May 25, 2021
  1. ryanofsky commented at 2:07 pm on May 25, 2021: member

    I’m seeing OOMs happen reliably during the linking step in the #19460 Cirrus “[multiprocess, DEBUG] [focal]” build after pushing an update to the PR yesterday to fix a silent merge conflict. Since there is not a big difference between #19640 and #10102, I’m afraid the same problem will happen in all other multiprocess PRs next time I need to update them.

    The build output https://cirrus-ci.com/task/5424472971804672 shows a “Container errored with ‘OOMKilled’” error during the CXXLD bitcoin-gui build step after memory usage spikes to 7.50GB. I’ve haven’t seen this error before, and I’m not sure if it started happening now due to different container settings, or due to different debug build options, or for another reason. I’m not sure what the simplest fix would be either. It doesn’t seem like 7.5GB is a huge amount of memory to need for a debug build of a c++ program with some generated code and a lot of template usage, so maybe the container memory limit could just be increased. But at the same time it could also be helpful to know what might have changed recently that could cause the new error, and if there’s a simple change to build settings that could be reverted in some other case where we might want to reduce memory usage.

  2. ryanofsky added the label Bug on May 25, 2021
  3. ryanofsky renamed this:
    Cirrus CI: Linker OOM
    Cirrus CI: Linker OOMKilled
    on May 25, 2021
  4. ryanofsky commented at 3:07 pm on May 25, 2021: member

    Similar but maybe less reproducible error reported in IRC yesterday

    http://www.erisian.com.au/bitcoin-core-dev/log-2021-05-24.html#l-285

    <wumpus> any idea what is failing here? https://github.com/bitcoin/bitcoin/pull/22017/checks?check_run_id=2641237156 <wumpus> i don’t see an error message but “24m” doesn’t sound like a timeout either <jonatack> wumpus: idk but see things like “cc: fatal error”, “clang: error: linker command failed due to signal (use -v to see invocation)” and “make[2]: *** [Makefile:5887: qt/bitcoin-qt] Error 254” <jonatack> (https://cirrus-ci.com/task/5591878247645184) <wumpus> oh i see, the errors are outside of the window shown on github, thanks <wumpus> “clang: error: unable to execute command: Killed” jaws tune OOM killer in action <wumpus> doesn’t seem worth making an issue about, restarted it <jonatack> yess, cirrus makes you click for the goodies

  5. fanquake closed this on May 26, 2021

  6. sidhujag referenced this in commit 1735ab3353 on May 27, 2021
  7. DrahtBot locked this on Aug 18, 2022


ryanofsky

Labels
Bug


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-18 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me