Article directory
debugging method
The usual way is to use
- strace, check whether the current program has executed sleep, network event waiting; https://mzhan017.blog.csdn.net/article/details/117440913
- Use gcore to generate a core file analysis analysis
example
Here is a situation where virsh hangs. The reason is that data is sent to the socket, but there is no response, which causes it to wait forever. In this case, you can use strace to find the reason easily
https://bugzilla.redhat.com/show_bug.cgi?id=2225667