adamant-kite-43734
08/22/2022, 10:36 PMcolossal-cartoon-44029
08/22/2022, 10:37 PMcolossal-cartoon-44029
08/22/2022, 10:39 PMquick-keyboard-83126
08/23/2022, 1:02 AMcolossal-cartoon-44029
08/23/2022, 2:21 AMcolossal-cartoon-44029
08/23/2022, 4:48 PMjolly-forest-99711
08/23/2022, 5:28 PMqemu-system-aarch64 runs at over 100% while it’s hungWhat do you mean by this? 100% CPU from the point of view of the host system? Have you tried giving the VM more CPUs and memory? I wonder if there's anything in the logs for envoy, redis etc that would say what is happening during a pause
colossal-cartoon-44029
08/23/2022, 7:53 PMWhat do you mean by this? 100% CPU from the point of view of the host system?Yes. When things are operating smoothly, qemu-system-aarch64 uses around 15% of System CPU as reported by the MacOS Activity Monitor.
Have you tried giving the VM more CPUs and memory?I upping to 8GB RAM and 4 CPUs and the behavior didn’t change.
I wonder if there’s anything in the logs for envoy, redis etc that would say what is happening during a pausecontainer logs don’t say anything interesting. A thing I did find is that there are bursts of DNS queries getting logged in lima.ha.stderr.log. I think I’m reproducing a similar problem by doing the following. 1. Run a loop querying dns for host.docker.internal.
docker run --rm --name crashy-crashy -ti ubuntu:20.04 bash -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y dnsutils psmisc && while true ; do dig host.docker.internal ; done'
2. Once that’s started, run another loop that kills dig
over and over within the same container. docker exec -ti crashy-crashy bash -c "while true ; do killall dig ; sleep .1 ; done"
If I let this sit for a bit, it seems to get qemu into the same state as the redis/envoy/ratelimit combo.
I’m going to try this on rancher desktop 1.4 to see if it seems more stable. If 1.4 is more stable, I’ll create a github issue.colossal-cartoon-44029
08/23/2022, 8:18 PMjolly-forest-99711
08/23/2022, 9:58 PMcolossal-cartoon-44029
08/23/2022, 10:00 PMquick-keyboard-83126
08/23/2022, 10:00 PM