I read about the working mode settings of nginx, for example: generally set the number of worker processes in nginx to be consistent with the number of CPU cores
so does the total number of processes or threads in prefork or worker mode of apache have anything to do with the CPU core settings
or just based on memory and serverlimit size? This piece does not quite understand
in addition, about the maxclients setting, some say, for example, the worker mode, it is equal to the product of serverlimit and the number of threadsperchild threads in each child process. Why does it not have anything to do with the number of maxrequestperchild? this is the number of requests processed by each thread. Please answer in detail. Thank you!