def WaitForConnection(self, timeout_s=30.0, poll_period_s=0.5):
    finish_time = time.time() + timeout_s
    while time.time() < finish_time:
      if self.Connect():
        return True
      time.sleep(poll_period_s)
    logging.info('%s took more than %d seconds to start.', self, timeout_s)
    return False
Check the diagnostics
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver_multiprocess.py/ChildProcess.WaitForConnection--crossover with--dataset/ETHPy150Open project-fondue/python-yql/yql/tests/test_yql_object.py/YQLObjTest.test_yqlobj_diagnostics