You can create, start, and stop MATLAB® Production Server™ instances from the command line. Use the configuration properties to tailor each instance to a specific task or use. If you make changes to the configuration properties for a server that is already running, you must restart it for the changes to take effect.
|URL for insecure connections|
|Amount of data the server instance discards after an HTTP error and before the server instance closes the TCP connection|
|Location of a MATLAB Runtime installation|
|Folder that the server instance scans for deployable archives|
|Root folder used to store contents of deployed archives|
|Deploy archives after the server starts|
|Maximum number of workers allowed to process work simultaneously|
|Time interval at which server instance stops and restarts workers|
|Size threshold at which to consider restarting a worker|
|Interval for which a worker can exceed its memory limit before restart|
|Interval at which workers are polled for memory usage|
|Specify the domain origins from which clients are allowed to make requests to the server|
|Duration after which the request times out and gets deleted after reaching a terminal state|
|Path to the location where responses are archived|
|Maximum disk space available to the server process for archiving|
|Size threshold of server process at which action needs to be taken to manage responses|
|Action taken when the memory size threshold of server process is breached|
|Disable keyboard interruptions for server instance|
|Gracefully shut down server processes after receiving a terminal interrupt signal or program termination signal|
|Text format for the main log file|
|Number of request-processing threads within the server instance|
|Set the maximum size of a request|
|Duration after which all server instance processes are forcibly terminated|
|Associate MATLAB data value with string key|
|Start MATLAB Runtime with a single computational thread|
|Set up server environment from command line on Windows, Linux, and macOS systems|
|Create server instance from command line on Windows, Linux, and macOS systems|
|Start server instance from command line on Windows, Linux, and macOS systems|
|Stop server instance from command line on Windows, Linux, and macOS systems|
|Stop and start server instance from command line on Windows, Linux, and macOS systems|
|Create or modify Windows service for server instance from command line on Windows systems|
|Control persistence service from command line on Windows, Linux, and macOS systems|
The role of the server in MATLAB Production Server software.
Use the command-line to create a server instance in an on-premises MATLAB Production Server installation.
mps-status to check if the server is running.
Deploy an archive on the server.
Set the default MATLAB Runtime for new server instances in an on-premises installation.
Specify the MATLAB Runtime installation location for your server instance.
Configure the server to host deployable archives compiled using multiple MATLAB Runtime versions.
List of MATLAB Runtime versions that MATLAB Production Server supports.
Set up the
main_config file with custom parameters for your
Set conditions determining when a server instance restarts worker processes.
Explanation of how server configurations impact execution of asynchronous requests.