I’m using incus through ansible which may start multiple “incus exec” processes. Every so often the incus API just hangs (on both the Unix socket as well as https) giving now response, while connections are still accepted on the port or socket there is no response to requests.
The incus daemon is still running, strace shows a lot of futex() calls. The only thing that reliably seems to fix this is rebooting the machine. The vms and containers are still working.
Can you do incus config set core.debug_address 127.0.0.1:8444
Once that’s done, next time it hangs, try to do curl http://127.0.0.1:8444/debug/pprof/goroutine?debug=2
This will show us a dump of all internal goroutines and hopefully explain why it’s hanging. You may also want to look at dmesg to make sure you’re not stuck on some kind of kernel or hardware bug.