Skip to content

Client memory leak after self-hosted Sentry goes down #6098

@finkrer

Description

@finkrer

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/nextjs

SDK Version

7.17.3

Framework Version

Next 13.0.0, React 18.2.0, Node 14.20.1

Link to Sentry event

No response

Steps to Reproduce

  1. Self-host Sentry
  2. Deploy apps that depend on it
  3. Reboot the self-hosting machine
  4. All apps working with that server instance start leaking memory

Not a proper reproduction, I know, but it's the best I can do right now. Just want to let you know about the issue and maybe hear some advice.

Expected Result

Everything is fine.

Actual Result

Node chugs memory until we are forced to reboot the machines. Note that the leak continues indefinitely after the Sentry server becomes available again.

image

Pictured: server reboot on October 29, memory leak after.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions