Comments (11)
#98 fix this
from go-libvirt.
When this happens, is libvirt still responsive to virsh
commands? Virsh uses the same rpc interface to talk to libvirt that go-libvirt uses, so if virsh also becomes unresponsive it would point to a problem in libvirt itself.
from go-libvirt.
Yes, it still responsive. I can call any virsh
commands and they work correctly.
from go-libvirt.
when it fails again , can you try to dump all goroutines stack and share it with this issue?
Also can you try to compile you code (that sometimes fails like you say) with race detector?
from go-libvirt.
Yes, I compile my code with race detector and don't get any panics when it stuck, so it's not a race condition in my code (I hope 😄).
Attach archive with:
- trace
- cpu profile
- mutex profile
- goroutine profile
from go-libvirt.
i mean something different:
when you app if stuck and locks send to it SIGABRT so it prints to stderr all goroutine stack present on moment when you sent signal
from go-libvirt.
Ok, I will try to reproduce and dump goroutines.
from go-libvirt.
Goroutines dump in attached file.
goroutines.txt
from go-libvirt.
thanks, how much vm i can ran to may be reproduce this issue? 50 is enough?
from go-libvirt.
We reproduce this bug with 5 VMs. The main thing that all operations should perform in parallel.
from go-libvirt.
Looks like we found why we got a random hang on libvirt connection. We use the same connection for sending commands and for receiving events. And we got an idea that this is a key to the problem. So now we use two different connections. One is read-only for events and second for the commands and everything looks good.
from go-libvirt.
Related Issues (20)
- Disk usage shown by ConnectGetAllDomainStats is incorrect HOT 3
- Support for connection URIs HOT 6
- Tunnel via SSH? HOT 3
- Migrate Operations missing HOT 1
- Document minimum (or maximum) supported toolchain requirements
- Mentioned method Disconnected() does not exist HOT 1
- libvirttest.MockLibvirt does not implement net.Conn HOT 2
- Broken link to libvirt RPC knowledgebase HOT 1
- Inability to subscribe `metdata-change`, `device-added` and `device-removed` events HOT 5
- Support for QEMU Agent Command HOT 4
- CI occasionally times out HOT 1
- Can libvirt arm platform run X86 system? HOT 1
- Support for modular libvirt daemons HOT 4
- suggested breaking change: add context.Context support to API HOT 1
- cannot use 2147483648 (untyped int constant) as * value in constant declaration (overflows) HOT 4
- Connecting to Libvirt
- Deadlock if Stream Shutdown races with Push
- Q: What is the meaning of `NeedResults`? HOT 1
- Qemu special api
- how to connect libvirtd with tcp and sasl auth?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-libvirt.