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

High CPU usage after computer resumes from sleep with Jupyter Desktop running. #767

Open
ashish-codebase opened this issue Feb 8, 2024 · 1 comment
Labels

Comments

@ashish-codebase
Copy link

Description

When you run Jupyter desktop it runs file until the computer goes to sleep due to inactivity or by pressing the sleep button. Once the computer resumes normal power state, the Jupyter Lab Desktop version causes high CPU usage. If you look at the task manager several threads of Python.exe will be running with the path pointing to Jupyter Lab installation directory. It is not necessary to have anything running on Jupyter Lab. I have seen the same behavior on two machines (office & home PC).

Reproduce

  1. Run jupyter desktop normally (tested on windows 10 x64 Pro).
  2. Then let your computer go to sleep/standby automatically or by pressing sleep button.
  3. Then wake-up the computer.
  4. You will have very high CPU usages and there will be several Python.exe threads running.
  5. Tested this on 2 separate windows 10 x64 machines.

Expected behavior

Context

  • Operating System and version: Windows 10 x64 Pro 22H2
  • JupyterLab-Desktop version: 4.0.5-1
  • Installer: .exe
    2024-02-08 00_40_16-System Information
    2024-02-07 22_20_24-Window
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the terminal inside of JupyterLab Desktop here.
You may want to sanitize the paths in the output.
Browser Output (required for interface issues after loading)
Paste the output from the DevTools JavaScript console here, if applicable.
Logs (required for issues with loading, server and startup)
Paste the logs from the `main.log` file here (optionally also from `renderer.log`).
Copy link

welcome bot commented Feb 8, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

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

No branches or pull requests

2 participants