parameters: (py_server_port, queue)
docstring: r"""Start python distributed server and multiple machine server.
  
      Args:
          py_server_port: python server port.
          mm_server_port: multiple machine server port.
          queue: server port will put in this queue, puts exception when process fails.
docstring_summary: r"""Start python distributed server and multiple machine server.
docstring_tokens: r Start python distributed server and multiple machine server .
function: def _start_server(py_server_port, queue):
      r"""Start python distributed server and multiple machine server.
  
      Args:
          py_server_port: python server port.
          mm_server_port: multiple machine server port.
          queue: server port will put in this queue, puts exception when process fails.
      """
      try:
          mm_server_port = create_mm_server("0.0.0.0", 0)
          server = ThreadXMLRPCServer(
              ("0.0.0.0", py_server_port), logRequests=False, allow_none=True
          )
          server.register_instance(Methods(mm_server_port))
          _, py_server_port = server.server_address
          queue.put((py_server_port, mm_server_port))
          server.serve_forever()
      except Exception as e:
          queue.put(e)
function_tokens: def _start_server ( py_server_port , queue ) : try : mm_server_port = create_mm_server ( "0.0.0.0" , 0 ) server = ThreadXMLRPCServer ( ( "0.0.0.0" , py_server_port ) , logRequests = False , allow_none = True ) server . register_instance ( Methods ( mm_server_port ) ) _ , py_server_port = server . server_address queue . put ( ( py_server_port , mm_server_port ) ) server . serve_forever ( ) except Exception as e : queue . put ( e )