官网地址:https://nginx.org/en/docs/beginners_guide.html
nginx has one master process and several worker processes. The main purpose of the master process is to read and evaluate configuration, and maintain worker processes. Worker processes do actual processing of requests. nginx employs event-based model and OS-dependent mechanisms to efficiently distribute requests among worker processes. The number of worker processes is defined in the configuration file and may be fixed for a given configuration or automatically adjusted to the number of available CPU cores.The way nginx and its modules work is determined in the configuration file. (see worker_processes).
浙公网安备 33010602011771号