Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: NestJS workers are not cleaned-up #1037

Open
erikash opened this issue Apr 17, 2024 · 2 comments
Open

bug: NestJS workers are not cleaned-up #1037

erikash opened this issue Apr 17, 2024 · 2 comments

Comments

@erikash
Copy link

erikash commented Apr 17, 2024

Provide environment information

System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 192.55 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v18.14.1/bin/yarn
npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm
pnpm: 8.6.3 - ~/.nvm/versions/node/v18.14.1/bin/pnpm

Describe the bug

The processes are not terminating leading the system to out-of-memory

Reproduction repo

https://github.com/erikash/trigger-nestjs

To reproduce

Trigger the synchronizeAllEmployees job.
Watch the memory and trigger processes count only go up and your system running out of memory

Additional information

trigger

@ericallam
Copy link
Member

I haven't been able to recreate this issue, how are you running the dev command?

@erikash
Copy link
Author

erikash commented Apr 17, 2024

I haven't been able to recreate this issue, how are you running the dev command?

npx trigger.dev@beta dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants