rg initially appears to hang, Ctrl+C without effect #2399
-
I have a rather peculiar scenario here, where running Context:
Thinking that things might be "cold" at the Linux kernel level, I tried running I am at a loss to explain this (mildly irritating) behaviour - in particular the inability to Ctrl+C / SIGINT the What could be the trigger for this behaviour? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Dunno. If I were in your shoes, my first instinct would be to run As far as
Does this imply you're in a virtualized environment? If so, maybe the issue lurks there... It might also be helpful if you can find a way to reproduce the problem with other tools, perhaps with vanilla You also mention that It might also help to see if Lots of variables here, but I can't think of anything that would point the blame at ripgrep specifically. |
Beta Was this translation helpful? Give feedback.
I believe I have an answer, found via
dmesg
:Basically, this is the Linux nvme kernel driver talking to the VMware Workstation virtual hardware NVMe controller - and all that with the virtual disk files on a very fast PCI 4.0 SSD.
The symptom of the nvme timeout is basically a reasonably "locked" system, for 30 seconds at a time, on every single nvme timeout.
This only happens when "things" are very cold - where I suspect "things" maps to an inscrutable mix of Linux caches, VMware Workstat…