http://www.perlmonks.org?node_id=1058611


in reply to Using SIGHUP to restart a daemon

Hack small proof-of-concept code which reproduce your problem, and post here, so other can test it.