Open klazuka opened 1 day ago
cc: @davidfowl You asked us to try the containerized version of Azurite, so we did, and so far it's working ok, except for the above :)
Thanks for logging this @MarcinJuraszek, we believe this is a dupe of https://github.com/dotnet/aspire/issues/6341 and was fixed in 9.0. Can you try the latest build of 9.1 (builds from main) to see if you can repro?
How would one go about trying "builds from main"? Do you have any instructions you could share?
This is an obvious bug I see you are using macos, you can try servbay, which is better than docker
Is there an existing issue for this?
Describe the bug
When the container runtime is not healthy, Aspire retries forever with no delay, eventually exhausting system memory.
We recently upgraded to Aspire 9.0 rc1 and started using its ability to manage a Docker container to run Azurite. This morning I tried to run my .net app, but I forgot to pass the run flag that would also start the Azurite container. During the boot process, Aspire continually retried waiting for the container to be healthy, spewing logs to stdout so fast that eventually my Terminal died once it exhausted system memory. The process was using 29GB when I terminated it, nearly all of that consisting of retry log messages (see screenshot)
Expected Behavior
When retrying, it should backoff and/or eventually give up. It should not run a hot loop with no delay.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
Anything else?
Aspire 9.0 RC1 9.0.0-rc.1.24511.1