in reply to Managing the fork/execing and reaping of child processes
Why the exec in line 47? You could just as easily print from perl.
What system are you running on? I'm guessing there's a fork limit or something involved, and the perl script isn't getting any CPU or IO cycles, and is hanging there. Have you checked the CPU usage? Have you considered tracing the execution, and finding the last line executed before the hang?
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Managing the fork/execing and reaping of child processes
by ibm1620 (Hermit) on Jul 16, 2015 at 15:53 UTC | |
by ibm1620 (Hermit) on Jul 16, 2015 at 16:00 UTC | |
by QM (Parson) on Jul 17, 2015 at 08:20 UTC | |
|
Re^2: Managing the fork/execing and reaping of child processes
by ibm1620 (Hermit) on Jul 16, 2015 at 16:04 UTC |