Access Service Record Files - MATLAB & Simulink (original) (raw)
The MATLAB® Parallel Server™ services generate various record files in the normal course of their operations. The mjs
service, job manager, and worker sessions all generate such files. This section describes the types of information stored by the services.
Locate Log Files
Log files for each service contain entries for the service’s operations. These might be of particular interest to the network administrator in cases when problems arise.
Find the log files in these locations:
Operating System | File Location |
---|---|
Windows® | The default location of the log files is\MJS\Log, where is the value of the systemPROGRAMDATA variable. For example, if PROGRAMDATA is set to C:\ProgramData, the log files are placed inC:\ProgramData\MJS\Log.You can set alternative locations for the log files by modifying the LOGBASE setting in themjs_def.bat file before starting the mjs service. |
Linux® | The default location of the log files is/var/log/mjs/.You can set alternative locations for the log files by modifying the LOGBASE setting in themjs_def.sh file before starting the mjs service. |
Locate Checkpoint Folders
Checkpoint folders contain information related to persistence data, which the server services use to create continuity from one instance of a session to another. For example, if you stop and restart a job manager, or the job manager crashes and restarts automatically, the new session continues the old session, using all the same data.
Note
If a job manager crashes and restarts, its workers can take up to 2 minutes to reregister with it.
Find the checkpoint folders in these locations:
Platform | Folder Location |
---|---|
Windows | The default location of the checkpoint folders is\MJS\Checkpoint, where is the value of the systemPROGRAMDATA variable. For example, if PROGRAMDATA is set to C:\ProgramData, the checkpoint folders are placed inC:\ProgramData\MJS\Checkpoint.You can set alternative locations for the checkpoint folders by modifying the CHECKPOINTBASE setting in the mjs_def.bat file before starting themjs service. |
Linux | The checkpoint folders are placed by default in/var/lib/mjs/.You can set alternative locations for the checkpoint folder by modifying the CHECKPOINTBASE setting in themjs_def.sh file before starting the mjs service. |