'Called when no pidfile is found or no pid is in the pidfile.'

def _handle_no_process(self):

    message = ('No    pid    found    at    %s' % self.pidfile_id)
    if ((time.time() - self._start_time) > _get_pidfile_timeout_secs()):
        mail.manager.enqueue_admin('Process    has    failed    to    write    pidfile', message)
        self.on_lost_process()
