I am using a telnet/ssh seesion on some server to run a specific simulator progrmam, and the program rely on a SIGTERM to exit itself(if not input "exit" string interactively).
The program will normally exit itself on most servers when I kill the telnet/ssh session directly. But on certain servers, my simulator will not recieve the SIGTERM signal, and keep running as a child of the ROOT process. Then those dangling processes will consume much CPU resource.
Could anybody give me some help where to look? Or how to address this situation?
Thanks, Kevin