开发者

receive SIGTERM

开发者 https://www.devze.com 2023-02-26 11:07 出处:网络
I have designed a message passing interface in c which is used to provide communication between different processes running in my system. This inte开发者_开发百科rface creates 10-12 threads for its pu

I have designed a message passing interface in c which is used to provide communication between different processes running in my system. This inte开发者_开发百科rface creates 10-12 threads for its purpose and use TCP sockets to provide communication.

It is working fine but sometimes it receives signal SIGTERM. Can anyone please tell me why is it receiving this signal.


If a human isn't killing your process, then the kernel is.

This can happen when a machine is trying to save itself from drowning (you've used up all the memory/swap/resources). Might want to look at what's going on on that system when your process is running.

0

精彩评论

暂无评论...
验证码 换一张
取 消