in reply to Re: Managing the fork/execing and reaping of child processes
in thread Managing the fork/execing and reaping of child processes

In the real program, I exec a C program. I just wanted to keep differences to a minimum in this stripped-down version.

I will look into the $active_readers question.

  • Comment on Re^2: Managing the fork/execing and reaping of child processes

Replies are listed 'Best First'.
Re^3: Managing the fork/execing and reaping of child processes
by ibm1620 (Hermit) on Jul 16, 2015 at 16:00 UTC
    System is CentOS. I don't know what kind of PID limits there are. When the freeze occurs, there's no CPU being used on the box (I'm the only occupant currently). There are no zombies. What are you referring to by "tracing"?
      "Tracing" could be something as simple as sprinkling
      print STDERR "This is line ", __LINE__, "\n"

      most everywhere, to using the debugger with actions on interesting lines, to one of the modules that wraps around the bytecode.

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of