Troubleshooting
Issues with MATLAB® Production Server™ instances can manifest as connectivity failures, slow downs, or server instance crashes. Use log information generated by a server instance to diagnose and solve problems.
Properties
| Server Configuration Properties | Configure MATLAB Production Server instance using configuration file or dashboard | 
Command-Line Scripts for Windows, Linux, and macOS
| mps-check | Test and diagnose server instance for problems from command line on Windows, Linux, and macOS systems | 
| mps-profile | Log profile information for server instance from command line on Windows, Linux, and macOS systems | 
| mps-status | Display status of server instance from command line on Windows, Linux, and macOS systems | 
| mps-support-info | Display licensing and configuration information of server instance from command line on Windows, Linux, and macOS systems | 
| mps-which | Display path to server instance that is currently using configured port from command line on Windows, Linux, and macOS systems | 
Topics
- Verify Server StatusUse mps-statusto check if the server is running.
- Manage Log FilesSet properties in the main_configserver configuration file to set log verbosity, and to rotate and archive logs.
- Diagnose a Server InstanceTips to diagnose a problem with a server. 
- Diagnose a Corrupted MATLAB RuntimeThis example shows a typical diagnostic procedure you might follow to solve a problem starting server prod_server_x.
- Server Diagnostic ToolsEach server writes a log file containing data from both the main server process, as well as the workers, named server_name/log/main.log
- Common Error Messages and ResolutionsList of common errors and possible resolutions.