Skip to content

🐞 memory leak in dagger shell #10489

Closed

Description

@netikras

What is the issue?

shamelessly copy-pasting from discord:

in dagger 0.18.6, while exitting a container container | from node:18-alpine | with-mounted-directory /mnt ./ | terminal back into dagger shell, I woke up some hungry ass beast sleeping inside Dagger that immediatelly ate up all the remaining 14G of my RAM.

Yes, I'm calling it -- there's a memleak somewhere in there 🙂 killing dagger process from another TTY caused it to print some stacktrace, IDK if it's of any use..

$ ps faxu | grep dagger
<...>
netikras  1290607  6.4 19.5 14100236 12764040 pts/74 Sl+ 18:26   1:53      \_ dagger shell
netikras  1290654  0.0  0.0 2291180 9324 ?        Ssl  18:26   0:00          \_ docker exec -i dagger-engine-v0.18.6 buildctl dial-stdio
netikras  1290723  0.0  0.0 2217448 8780 ?        Ssl  18:26   0:00          \_ docker exec -i dagger-engine-v0.18.6 buildctl dial-stdio
netikras  1290758  0.0  0.0 2291436 9280 ?        Ssl  18:26   0:00          \_ docker exec -i dagger-engine-v0.18.6 buildctl dial-stdio
<...>

Dagger version

0.18.6

Steps to reproduce

no idea...

Log output

dagger_crash.txt

Activity

  1. locked and limited conversation to collaborators on Mar 25, 2026
  2. converted this issue into a discussion #12658 on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions