In Net::Server::Daemonize, create_pid_file can create a zero-length pid file (if it is aborted while starting up or if the file system is full) that check_pid_file dies on.
I would suggest:
1) make create_pid_file shuffle in (i.e. rename) its pid file after it closes it,
2) make check_pid_file ignore empty pid files, or
3) both.
[The changes are pretty simple, but if you want code, I can provide either or both fixes.]
Kurt
(4)
]
