in reply to Re: Daemon dies instantly
in thread Daemon dies instantly

So you're saying there are no obvious ways people do this to themselves? What about my two specific questions about things that might try to talk to STDERR? Would either of those kill the daemon?

The whole code is up over 700 lines at this point, which seems entirely excessive to ask people to grope through. I'm reasonably certain that the simplest case will not reproduce the problem (that would mean Proc::Daemon and Log::Log4perl were incompatible, and there's lots of evidence of people using them together). So I'm working down, rather than up, in this case, and that's going to be slower.

Replies are listed 'Best First'.
Re^3: Daemon dies instantly
by GrandFather (Saint) on Oct 14, 2011 at 23:26 UTC

    Yup, 700 lines is far too much to post, but I'll bet you can cut out 1/2 those lines without affecting the bug. The trick is finding the lines that can be removed. Oh, and when you done the first pass and removed 1/2 the lines, do it again and keep doing it until there are no more lines to remove without the bug disappearing!

    It's called a binary search and is useful for more than just searching data. ;)

    True laziness is hard work