You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running a cdk command such as "cdk ls", I can see two nodejs process starting:
node /usr/bin/cdk ls
node --max-old-space-size=4069 /tmp/tmpl2de_imf/bin/jsii-runtime.js
When the cdk command exits, the last of these is still running. This process has significant cpu usage, and should not be left "unmanaged". It looks like everytime I run a new cdk command, one more of these processes are spawned and not cleaned up, ultimately leading to system crash on my computer
Expected Behavior
all cdk-related nodejs processes should exit after the cdk command completes
Current Behavior
a rogue nodejs process is left behind.
Reproduction Steps
Hard to say. This certainly doesn't happen on all of our cdk apps, but it is consistent on one of them, which is a fairly large cdk app with lots of resources and sub-stacks
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.151.0 (build b8289e2)
Framework Version
No response
Node.js Version
v20.13.1
OS
Ubuntu 24
Language
Python
Language Version
Python 3.11
Other information
No response
The text was updated successfully, but these errors were encountered:
Hard to say. This certainly doesn't happen on all of our cdk apps, but it is consistent on one of them, which is a fairly large cdk app with lots of resources and sub-stacks
I can't reproduce this in my CDK in Python app but this is probably due to the size of my CDK app.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
when running a cdk command such as "cdk ls", I can see two nodejs process starting:
When the cdk command exits, the last of these is still running. This process has significant cpu usage, and should not be left "unmanaged". It looks like everytime I run a new cdk command, one more of these processes are spawned and not cleaned up, ultimately leading to system crash on my computer
Expected Behavior
all cdk-related nodejs processes should exit after the cdk command completes
Current Behavior
a rogue nodejs process is left behind.
Reproduction Steps
Hard to say. This certainly doesn't happen on all of our cdk apps, but it is consistent on one of them, which is a fairly large cdk app with lots of resources and sub-stacks
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.151.0 (build b8289e2)
Framework Version
No response
Node.js Version
v20.13.1
OS
Ubuntu 24
Language
Python
Language Version
Python 3.11
Other information
No response
The text was updated successfully, but these errors were encountered: