Can't start a new instance after having stopped the previous one
After stopping sysdig, sometimes the next time I try to run it I get this message:
device /dev/sysdig1 is already open. You can't run multiple instances of sysdig.
There's no other sysdig instance running, but the new one can't start. Any idea on what might be happening? Any info I can give you to clarify?
Your sysdig-probe might have ended up in a very weird state. Do you have a way to replicate this issue? I've been seeing it once every few months and I've never been able to reproduce it and thus work on it.
By "replicate this issue" I mean restarting in a clean state (e.g. "reboot" or "rmmod sysdig-probe") and make the problem happen again.
The first time it happened, I tried modprobe -r sysdig-probe, which caused a kernel panic on the host machine (the machine I was inspecting was a VM), so I'm not trying that again :$
After rebooting, sysdig worked perfectly, even when I stopped it manually so I could run another instance. When I set up a cron job to do the same thing, it started to go nuts.
It's an x86_64 VM running Ubuntu Precise on VMWare ESXi
I'm trying to replicate the issue on a similar machine running on another host.
Please, if you can give step-by-step instructions on how to make this happen again it would be very very useful, it's a daunting bug.
It happened again, but I don't know what caused it. (it was on another VM) I tried then removing the module and reinstalling it, but It still couldn't run sysdig, same error. I'll keep trying
One thing is different, though: When it went kablooey, even after I removed the module, the /dev/sysdig0 file was still there. Now when I remove sysdig-probe, the file vanishes (which I guess is expected)
Can't reproduce. Even removing the device with sudo rm /dev/sysdig0 while sysdig is running didn't break it.
My best guess is that it happens randomly.
I'll keep trying, and I'll report anything unusual.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.