Skip to content

CPU and RAM spike caused by uptime-checker filling uptime backlogs on service startup after a certain downtime #285

@aldy505

Description

@aldy505

Environment

self-hosted 25.2.0, commit cut off: 9574780

Steps to Reproduce

  1. Make sure uptime-results Sentry consumer and snuba-uptime-results-consumer Snuba consumer are healthy. Then try to have an uptime backlog of 24 hours by shutting the uptime-checker down, but try to keep any other container alive.
  2. After that 24 hours of downtime, start the uptime-checker correctly.
  3. Uptime checker will try to fill all the missing backlog. Causing CPU and RAM spikes until the backlogs are complete.

Expected Result

No spikes in CPU and RAM. This is very sensitive in self-hosted environment since we have single node for everything (50-ish containers in total).

Actual Result

CPU and RAM spike, of course. Discord thread link: https://discord.com/channels/621778831602221064/1344588889284935731

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions