Q: Is "master process" could be overloaded by traffic

Sergey A. Osokin osa at freebsd.org.ru
Mon Nov 14 14:23:44 UTC 2022


Hi,

hope you're doing well.

On Mon, Nov 14, 2022 at 07:43:28AM -0500, ymarkman wrote:
> When/WhatFor "master process" is acting (vs worker)?

Here's the quote from [1]:
The master process is responsible for the following tasks:

- reading and validating configuration
- creating, binding and closing sockets
- starting, terminating and maintaining the configured number of worker processes
- reconfiguring without service interruption
- controlling non-stop binary upgrades (starting new binary and rolling back if necessary)
- re-opening log files
- compiling embedded Perl scripts

> Is it involved in data-traffic performance? 

No, it isn't.

> Could it be overloaded by agressive traffic or "stays in ~idle"?

No, it couldn't be.

References:
1. https://www.aosabook.org/en/nginx.html

-- 
Sergey A. Osokin



More information about the nginx mailing list