It is probably worth trying the double-fork trick. Where you double fork to ensure that the new process has no association whatever with the original process.
Thread: How to avoid zombie processes?
C Programming Tips and Tricks
You could make a simpler program that just creates a daemon and see if that works, before adding more code.
15 Replies - 1042 Views - Last Post: 04 July 2013 - 06:11 PM