Comparison of setting worker number between nginx and php-fpm

I would like to ask: nginx sets the number of worker to be calculated based on the number of cpu cores, but why does the pm.max_children of php-fpm prefer to be calculated based on memory?

Php
Nov.09,2021
Menu