Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90601

Enabling heap profiler caused stream processors to OOM in dev.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL
    • v8.0
    • Security 2024-05-27

      Link to streams dev alert thread: https://mongodb.slack.com/archives/C05RX7RFTS9/p1715896774095479

      I think this may have happened because  _generateServerStatusSection() has a few fields that can grow unboundedly:

      https://github.com/10gen/mongo/blob/78e828532b8745e5a9a1d8af21ed8a97d07d9313/src/mongo/util/heap_profiler.cpp#L784

      We should enforce appropriate limits on these fields like we do in the tcmalloc-gperf version of HeapProfiler.

      daniel.moody@mongodb.com The relevant changes seem to be made by you. Are you the right person to look into this?

       

            Assignee:
            erin.mcnulty@mongodb.com Erin McNulty
            Reporter:
            sandeep.dhoot@mongodb.com Sandeep Dhoot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: