I've written a batch processor that runs multiple threads (pcntl_fork) and I'm getting some weird results when child processes go defunct and don't seem to let go of their resources.
Is there a good code profiler, trace utility I can use to 'watch' the parent process and children to see what is going on?