Results 1 to 1 of 1
I have a parent process which creates a number of other processes. It uses fork() and execl() to spawn a child process. which works fine all the time. ISSUE : ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-30-2010 #1
- Join Date
- Jun 2010
It uses fork() and execl() to spawn a child process.
which works fine all the time.
but once, it was observed sigchild received from process, say process A.
Sigchild was received at about 6 seconds from when Parent Process was started.
Issue is not reproducible.
On debugging it was observed that the parent process takes about 3 seconds to call execl() which spawns process A and about 7 seconds for the main function of the process A to be called(consistently).
From the above timeline informations, when the issue has occured execl() would not have completely spawned process A.
Could this be an issue with the execl() system call?