On Wed, 18 Feb 2015 20:35:44 +0000, Byron Heads wrote:

> On Wednesday, 18 February 2015 at 20:33:40 UTC, ketmar wrote:
>> On Wed, 18 Feb 2015 20:27:07 +0000, Byron Heads wrote:
>>
>> are you forking? ;-)
> 
> 
> I am in the daemonize library
> 
> https://github.com/NCrashed/daemonize

can you drop that and just let the program run on foreground? i suspect 
that it may solve your problem. you can detach your program with "setsid" 
and "&" to avoid forking.

`fork()` is a very fragile thing, and it may be the source of heisenbugs. 
stop `fork()`ing may be the easiest solution (if it solves something, of 
course ;-).

Attachment: signature.asc
Description: PGP signature

Reply via email to