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

Extension causes high cpu load #1184

Closed
Murad-Git opened this issue Feb 16, 2021 · 5 comments
Closed

Extension causes high cpu load #1184

Murad-Git opened this issue Feb 16, 2021 · 5 comments
Labels
info-needed Issue requires more information from poster

Comments

@Murad-Git
Copy link

  • Issue Type: Performance
  • Extension Name: vscode-eslint
  • Extension Version: 2.1.14
  • OS Version: Windows_NT x64 10.0.18362
  • VSCode version: 1.53.2

⚠️ Make sure to attach this file from your home-directory:
⚠️c:\Users\MISHMU~1\AppData\Local\Temp\dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

@dbaeumer
Copy link
Member

@Murad-Git can you please attach the referenced profile (e.g. c:\Users\MISHMU~1\AppData\Local\Temp\dbaeumer.vscode-eslint-unresponsive.cpuprofile.txt)

@dbaeumer dbaeumer added the info-needed Issue requires more information from poster label Feb 17, 2021
@matzeeable
Copy link

Hi @dbaeumer !

I am experiencing the same issues with high CPU load even without doing anything.

image

Where do I find the CPU profile on my Linux machine? I need also mention that I am using the Remote SSH extension of VSCode, but I never had this issue two weeks ago.

Regards,
Matthew 😊

@dbaeumer
Copy link
Member

@matzeeable your issue is different from @Murad-Git since you are effect by a high CPU load of the server.

To understand what is happening can you provide me with steps on how to reproduce this best by giving me a GitHub repository I can clone?

@dbaeumer
Copy link
Member

dbaeumer commented Apr 1, 2021

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@dbaeumer dbaeumer closed this as completed Apr 1, 2021
@matzeeable
Copy link

@dbaeumer FYI: The issue was caused by a sudo sysctl fs.aio-max-nr modification. I have done this modification because I needed to run multiple MySQL databases on my system (source). I do not know if this helps someone, but perhaps you have changed this in the past, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants