[ CnUnix ] in KIDS 글 쓴 이(By): Tony (Dahl) 날 짜 (Date): 2009년 07월 09일 (목) 오후 11시 03분 32초 제 목(Title): Re: [Q] Child process kill? kill -HUP 같은것을 사용하세요. -9는 최후의 수단... how-to-make-child-process-die-after-parent-exits @ stackoverflow.com http://durl.kr/np5 The -9 (or KILL) argument to kill(1) should never be used on Unix systems, except as a very last resort. Why? The KILL signal cannot be handled by the process being so killed. This means blasting away with kill -9 may leave child processes of a parent orphaned, the filesystem littered with temporary files, shared memory segments active, lingering sockets, and any atexit(3) code unexecuted. The result? A system in taters, and an increased risk of unanticipated and hard to debug problems. |