On Mon, Jan 25, 2010 at 3:48 PM, Tosh Cooey <t...@1200group.com> wrote: > Thanks Perrin, the forking, my child got a PID of 30033 and then afterwards > when I checked the processes (ps) for 30033 I see: > > [apache2] <defunct> > > Is that what's supposed to happen?
After you call exit? No. It should be gone. That's a zombie process. > That PM thread seems to indicate that I must disconnect every DBH, not just > the ones that I will use. Either that, or you need to set InactiveDestroy on all of them in the child process. Otherwise, when the child exits, it messes up all of them for the parent. > Are you also suggesting the use of > Parallel::ForkManager for forks? No. The DBI stuff is the same with either. - Perrin