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.
精彩评论