Prevent SDK from starting more than one instance
This makes sure that a single AppScale instance does not map to
multiple runtime instance processes.
@@ -169,6 +169,7 @@ def create_python27_start_cmd(app_name, login_ip, port, pidfile, revision_key,
"--enable_sendmail",
"--xmpp_path " + options.load_balancer_ip,
"--php_executable_path=" + str(PHP_CGI_LOCATION),
+ "--max_module_instances", "{}:1".format(service_id),
"--uaserver_path " + options.db_proxy + ":" + str(UA_SERVER_PORT),
"--datastore_path " + options.db_proxy + ":" + str(DB_SERVER_PORT),
"--host " + options.private_ip,
