Each server writes a log file containing data from both the
main server process, as well as the workers, named
.
You can change the primary log folder name from the default value
(server_name
/log/main.loglog
) by setting the option log-root
in main_config
.
The primary log folder contains the main.log
file,
as well as a symbolic link to this file with the auto-generated name
of main_
.date
_fileID
.log
The stdout
stream of the main server process
is captured as log/main.out
.
The stderr
stream of the main server process
is captured as log/main.err
.
Each process that the server runs generates a Process
Identification File (PID File) in the folder identified
as pid-root
in main_config
.
The main server PID file is main.pid
; for
each MATLAB® Runtime worker process, it is worker-
,
where n
.pidn
is the unique identifier of the
worker.
PID files are automatically deleted when a process exits.
Endpoint files are generated to capture information about the server’s bound external interfaces. The files are created when you start a server instance and deleted when you stop it.
contains
the IP address and port of the clients connecting to the server. This
information can be useful in the event that zero (server_name
/endpoint/http0
)
is specified in main_config
, indicating that the
server bind to a free port.