Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Memory Issue When Application Sends Too Many Errors #34

@allisonwang

Description

@allisonwang

We are using AioHttpTransport when sending errors to Sentry. But (based on the documentation here "Each new message spawns it owns asyncio.Task, amount of them is not limited") if the application keeps sending large amount of error messages, this will cause memory leak and eventually the box will run out of memory. But if we use QueuedAioHttpTransport, the extra errors will simply get omitted if the queue is full.

I am wondering what's the best way to handle this issue?

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