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.
我在 c 中设计了一个消息传递接口,用于在我的系统中运行的不同进程之间提供通信。该接口为其目的创建了 10-12 个线程,并使用 TCP 套接字提供通信。
它工作正常,但有时它会收到信号 SIGTERM。谁能告诉我为什么它会收到这个信号。
如果一个人没有杀死你的进程,那么内核就是。
当机器试图从溺水中拯救自己时(您已经用完所有内存/交换/资源),可能会发生这种情况。可能想查看进程运行时该系统上发生的情况。