-
Notifications
You must be signed in to change notification settings - Fork 137
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
pydevd.py is taking 100% CPU in docker #1670
Comments
Is there a reason you're using 3.8? Might work better with 3.11. |
We'd likely need your source code to reproduce. There's probably something in the source that the debugger is tracing that's taking a really long time. You might try switching to 3.12 and (our new 3.12 support in 1.8.6) as that should be faster than the old sys.trace implementation we use in 3.8. |
hi @rchiodo
I have no idea what it does but "at least", after a dozen seconds, I can open the page. So I understand we're stucked and nothing else can be done until I reproduce the bug in a way i can share it. Thanks for the support and I hope you'll soon find out by other means what is happening. Michele |
Ah Switching to 1.7 won't likely affect anything though. And yes it would be really hard to determine the root cause without a reproduction. Thanks for the feedback though. |
Environment data
Actual behavior
I start my Django docker image with python 3.8 with this command:
After starting, these processes take 100% of cpu time:
If you can't read
Expected behavior
I'd like to debug normally with no process taking 100% of CPUs
Steps to reproduce:
Unfortunately no colleague is getting the same behaviour so I'd like some help to understand if this is my fault or debugpy fault.
I can provide you with logs and everything.
Thanks for the amazing work btw, For some weeks it was working flawlessly, and the issue is happening only on one docker image, not all of them.
The text was updated successfully, but these errors were encountered: