How to safely shutdown mlflow ui?
Written by- Sharif
18746 times views
To safely shutdown the MLflow UI, you can use the mlflow server stop
command. This command will stop the MLflow server and terminate the web
server process.
Here's the general syntax for the command:
The --server-id option allows you to specify a unique identifier for the server instance. This can be useful if you are running multiple instances of the MLflow server on the same machine.
For example, to stop the MLflow server running on the default host and port, you can run the following command:
Here's the general syntax for the command:
mlflow server stop [--host HOST] [--port PORT] [--server-id SERVER_ID]The --host and --port options allow you to specify the host and port on which the MLflow server is running. If you are running the MLflow server on the default host and port (localhost:5000), you can omit these options.
The --server-id option allows you to specify a unique identifier for the server instance. This can be useful if you are running multiple instances of the MLflow server on the same machine.
For example, to stop the MLflow server running on the default host and port, you can run the following command:
mlflow server stopThis will shut down the MLflow server and terminate the web server process.