What does nginx smooth restart mean?
PHP中文网
PHP中文网 2017-05-16 17:23:50
0
2
657

Doesn’t it mean to stop the service?

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
習慣沉默

It should mean reloading the configuration file, or upgrading nginx without stopping the business.
The general principle is that nginx will start a new worker with a new configuration file, and then slowly stop the old configuration worker that has processed the request.

曾经蜡笔没有小新

nginx runs a new worker process and gracefully shuts down the old worker process, notifying the worker process to close the listening socket but continue to serve currently connected clients. After all client services are completed, the old worker process is shut down. If application of the new configuration file fails, nginx will continue to work using the old configuration file.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template