Core Management Tasks
Create and run a server that hosts deployable archives
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.
HTTP, MATLAB Runtime, and Auto-Deployment Settings
|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|
Worker Management Settings
|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|
Asynchronous Mode Settings
|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|
All Other Settings
|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 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|
|Serve static content over HTTP or HTTPS|
Command-Line Scripts for Windows, Linux, and macOS
|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|
- Server Overview
The role of the server in MATLAB Production Server software.
- Create Server Instance Using Command Line
Use the command line to create a server instance in an on-premises MATLAB Production Server installation.
- Verify Server Status
mps-statusto check if the server is running.
- Deploy Archive to MATLAB Production Server
Upload a deployable archive to a running server for clients to access.
Start and Stop Server Instance
- Start Server Instance Using Command Line
Start an on-premises server instance using the command line.
- Configure Server Instance as Windows Service
Start a MATLAB Production Server instance when the host machine boots up by making a server instance a Windows® service.
MATLAB Runtime Settings
- Specify Default MATLAB Runtime for New Server Instances
Set the default MATLAB Runtime for new server instances in an on-premises installation.
- Specify MATLAB Runtime for Server Instance Using Command Line
Specify the MATLAB Runtime installation location for your server instance.
- Support Multiple MATLAB Runtime Versions
Configure the server to host deployable archives compiled using multiple MATLAB Runtime versions.
- Supported MATLAB Runtime Versions for MATLAB Production Server
List of MATLAB Runtime versions that MATLAB Production Server supports.
- Configure Server Using Configuration File
Specify server configuration parameters in the
main_configfile for server instances managed using the command line.
- Control Worker Restarts
Set conditions determining when a server instance restarts worker processes.
- Impact of Server Configurations on Processing Asynchronous Requests
Explanation of how server configurations impact execution of asynchronous requests.