Stop StreamServer.The SIGINT signal is registered for the StreamServer process. Therefore, you can stop the StreamServer process in either of the following ways:
- Press Ctrl+C in the CLI.
- Run the kill -SIGINT ${PID} command, where ${PID} indicates the StreamServer process ID. If a process is suspended, restore the process and then run the kill -SIGINT ${PID} command to stop the process.
- The StreamServer inference service is only a component instead of a complete system. It needs to be integrated into your system. You need to control the startup, stop, and restart (only upon exceptions) of the inference service. The StreamServer inference service does not have a restart mechanism, so its restart function is controlled by your system.
- To obtain the StreamServer process ID, run netstat -tlnp and find ${PID} of the Python 3 program whose port number is the same as that specified by port in the StreamServer configuration file.