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 Docker Desktop is running but is in "Resource Saver" mode, running any command that has to read from the disk will "hang" until I manually "wake up" Docker from its Resource Saver mode (by running a container for example).
I'm not really sure about the "read from disk" part, but it's been the common denominator of commands affected by this (e.g. apt, ls, lsof are all affected, while zsh scripts that are already running or top/htop aren't).
This issue happens when Docker Desktop is running in resource saver modeANDWSL's autoMemoryReclaim is set to gradual.
I've tried the following scenarios and they don't seem to cause the issue:
autoMemoryReclaim is set to dropcache
autoMemoryReclaim is disabled (commented out in .wslconfig)
Docker Desktop is running in its normal mode
Docker Desktop isn't running at all
For now I have autoMemoryReclaim set to dropcache, but if you want me to run additional tests or need some other info let me know.
Expected Behavior
Expected the normal command behavior.
Actual Behavior
I've taken a screen recording while the issue happens:
20240123_204049_explorer.mp4
Diagnostic Logs
Those are the corresponding WSL logs for the screen recording:
Windows Version
Microsoft Windows [Version 10.0.22621.3007]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 22.04
Other Software
Docker Desktop 4.26.1 (131620) - Windows version
Repro Steps
When Docker Desktop is running but is in "Resource Saver" mode, running any command that has to read from the disk will "hang" until I manually "wake up" Docker from its Resource Saver mode (by running a container for example).
I'm not really sure about the "read from disk" part, but it's been the common denominator of commands affected by this (e.g.
apt,ls,lsofare all affected, while zsh scripts that are already running ortop/htoparen't).This issue happens when Docker Desktop is running in resource saver mode AND WSL's autoMemoryReclaim is set to gradual.
I've tried the following scenarios and they don't seem to cause the issue:
autoMemoryReclaimis set todropcacheautoMemoryReclaimis disabled (commented out in.wslconfig)For now I have
autoMemoryReclaimset todropcache, but if you want me to run additional tests or need some other info let me know.Expected Behavior
Expected the normal command behavior.
Actual Behavior
I've taken a screen recording while the issue happens:
20240123_204049_explorer.mp4
Diagnostic Logs
Those are the corresponding WSL logs for the screen recording:
WslLogs-AutoMemReclaim-Gradual-2024-01-23_20-40-10.zip