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

Slow down related to uptime #11155

Closed
1 of 2 tasks
stevenh opened this issue Feb 14, 2024 · 2 comments
Closed
1 of 2 tasks

Slow down related to uptime #11155

stevenh opened this issue Feb 14, 2024 · 2 comments

Comments

@stevenh
Copy link

stevenh commented Feb 14, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3007]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Run WSL for a number of days without restarting, it gets slower and slower.

Today I was really noticing it so ran a test, a refactor I'd been developing which is some shell, perl and golang reported by time:

real 6m51.373s
user 0m21.999s
sys 0m3.586s
After closing wsl and restarting with wsl --shutdown the same thing took:

real 0m42.377s
user 0m34.388s
sys 0m14.403s
Before the restart vmmem was using 22GB of RAM, afterwards 2.3GB

Expected Behavior

WSL should not slow down after time

Actual Behavior

Significant slowdown and significant memory usage just be using it for a few days.

Diagnostic Logs

No response

@stevenh
Copy link
Author

stevenh commented Feb 14, 2024

This is just a re-post of #9137 which was closed by the bot without resolution, really should ditch that as its just causing repetition of details, forcing users to recreate bugs losing the original context.

@craigloewen-msft
Copy link
Member

Reopened to the original and will mark this as duplicate. Thank you for refiling this!

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

No branches or pull requests

2 participants