I've set the InactiveDestroy attribute to true on the parent's database handles and it runs smoothly now.
Did you read the part where it says InactiveDestroy should be set to true in the parent and false in the child, or vice-versa, but not true in both? If you are using the handle in the parent (and you usually should not fork and then use an existing handle in the child), then you should set it to false in the parent, fork, then set it to true in the child right after forking. Or you could set it to true, fork, then set it back to false in the parent right after forking.
| [reply] |
Yep I did,
I set it to true right after the fork in the child. Don't think the child will 'die' just after the fork and before the first statement.
Grtz Marcello
| [reply] |