Skip to content

Coder (specifically tailnet) is using a lot of memory with 2000 and 30% receiving web terminal traffic (potentially OOM killed because of it) #11797

Closed as not planned
@mafredri

Description

@mafredri

With 2000 workspaces and sending web terminal traffic to 30% of them (600), we see that coder memory usage shoots up.

The OOM kill did not happen, however, before we also started a concurrent workspace app proxying test. But I suppose web term and workspace apps function on much the same principle.

image

From the heap, we can observe that a lot of this memory is allocated by WireGuard:

image image

IIRC, single tailnet was supposed to help with this. So I'm wondering if this is a regression?

// ping @coadler @spikecurtis

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APInetworkingArea: networkingstaleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions