Lines Matching refs:_pid
54 self._pid = None
74 assert not self._pid, '%s server is already running' % self._name
79 self._pid = int(self._filesystem.read_text_file(self._pid_file))
84 self._pid = None
90 self._pid = self._spawn_process()
93 _log.debug("%s successfully started (pid = %d)" % (self._name, self._pid))
108 if not self._pid:
109 self._pid = actual_pid
111 if not self._pid:
117 if self._pid != actual_pid:
119 (self._name, actual_pid, self._pid))
121 self._executive.kill_process(self._pid)
122 self._pid = None
125 _log.debug("Attempting to shut down %s server at pid %d" % (self._name, self._pid))
127 _log.debug("%s server at pid %d stopped" % (self._name, self._pid))
128 self._pid = None
183 if not self._executive.check_running_pid(self._pid):