Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在多核 RHEL6 上,死循环中有一个 FIFO 实时进程,因此它占用了内核上的所有 CPU 资源(进程与内核绑定)。但是,其他核心都很好。
此时,死循环中进程的 pstack 无法打印任何内容。同时,任何其他进程的 pstack 都运行良好。
有人可以帮忙告诉我为什么吗?
谢谢!
以这种方式尝试,使用 taskset -c corenumber /path/command 将调试器命令放在一个空闲核心中,然后尝试使用 chrt 命令更改调试进程的 fifo 中的调度类
我想你发现了这个问题,因为fifo进程不能被正常进程停止