Open muratyurdakul75 opened 4 months ago
Duplicate of #13923 ?
Duplicate of #13923 ?
Yes. We talked about the same problem. So I'm not the only one who noticed this. Thanks.
When Docker runs continuously for a long period of time, such as 2-3, the RAM swelling problem occurs. Maybe one of the reasons for RAM swelling is this unnecessary docker stats command.
I also notice that some of the docker stats commands get stuck in a loop and cause CPU utilization to balloon.
The "8" in the second column is the CPU% on a 12 core i7, so basically 100% of a core for each process.
Just an update, turns out the zombie processes (at least in my case) are due to faulty AMD drivers. See here: https://community.amd.com/t5/drivers-software/memory-leak-on-zen4/td-p/662281
So basically Docker Desktop keeps running processes in short intervals (which might not be ideal), but it's not DD's fault that they leave a zombie process afterwards.
Hmmm... My laptop is Intel/NVIDIA so no AMD drivers. I'm now seeing the runaway process on docker context. Maybe the issue is in the json formatter.
Description
Hi
Is it possible to turn off the Status window update for containers running on Docker Desktop? Continuous [C:\Windows\system32\cmd.exe /d /s /c ““docker” stats --all --no-trunc --no-stream --format “{{ json .}}””] It calculates status values by running . But most of the time the same 3-4 commands work. And this is an unnecessary effort for the computer. Is there any way to turn this feature off? If necessary, I can already access this value from the command line.
Status commands work even if the screen is off. For example, currently Docker Desktop is completely closed. There is only an icon in the icon tray. But these commands always run. And as seen in the screenshot, the same command was run 4 times. The CMD command runs at intervals of about 5 seconds. It doesn’t work in any other application. Only Docker Desktop is running. It would be great if there is a way to turn this off.
Thank you for your help.
OS : Windows 11 Pro 23H2 CPU : i9-12900H RAM : 16GB SSD : 1TB
Reproduce
No need to rebuild. It always works this way.
Expected behavior
There is no need for the Docker Desktop application to constantly update status information. The Docker application is already running in the system tray. Update the status information while the Container Status screen is open, no problem. However, when the Status screen is not open, there is no need to constantly run the "docker stats" command for this information. Maybe this should be left to user option in the settings page.
docker version
docker info
Diagnostics ID
EAD40AFE-1792-4588-8080-3CE99765EAD0/20240311154733
Additional Info
I think I explained the situation sufficiently in the screenshots.