in reply to Batch process management using fork problems
Forking with a database connection from the parent process is rife with all sorts of problems. It should work if you open a separate database connection in the child which won't interfere with the parent.