How does php-fpm restart smoothly?

how does php-fpm restart smoothly?

Php
Mar.16,2021
The

process is divided into the master main process and the work working process.
the master process mainly manages event signal reception and distribution. All request processing is handled by the work process and returns results
upgrades such as smooth restart or reload configuration files. The first step is to send a restart or reload profile signal to master, and then master tells all work processes not to accept new requests, and then master starts a new work process. Finally, it is told that the old work process can be gloriously exited.

Menu