Results 1 to 2 of 2
Parent send SIGKILL to the child process and process still cannot be killed.
How can i debug the reason for child not being killed?...
- 12-16-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 22
Child process cannot be killed using SIGKILL
Parent send SIGKILL to the child process and process still cannot be killed.
How can i debug the reason for child not being killed?
- 12-16-2008 #2First, you can do all the usual things for determining what's going on in the parent process: that it's actually getting to the kill() call, that the child PID is accurate, that the signal is accurate, and so on. Then find out whether the parent process is actually returning from the kill() call. If it is, what is the returned value from the kill() call? If it's -1, what's the value of errno?How can i debug the reason for child not being killed?
And if you get a zero return from kill(), does the child process then turn into a zombie process? And is the parent process doing a wait() or waitpid() to harvest that zombie process?--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote