Hi,

I have a mother process which needs to fork off a child at every x
milestone. The child performs a small function (ie, write to a log) and
then dies. The general idea is that the mother is unaffected by any
problems the child may encounter (ie, a closed socket, a full disk, eg).
The child forking process is an "option" in the mother process. 

Now, the mother has an open database handle, which from my understanding
gets transferred to the child at fork. I want the handle to stay with the
mother. The child's handle can die -- it's not needed for the function.

I tested killing the child's handle (with $dbh->disconnect) with the 
"generic" DBD::SQLite, and it seems all right, but with DBD::Informix, the
mother pocess just hangs or the children to not exit. Is this simply 
related to Informix (from this earlier post by Jonathan Leffler)?

==start snip==
And, as a specific f'r'instance, DBD::Informix will not work reliably if
you try that -- the connection is associated with a specific PID and the
children have the wrong PID (process ID).
===end snip==

Thank you,

Tielman de Villiers

Reply via email to