Hacker News new | ask | show | jobs
by pkandathil 4697 days ago
I have seen the calculation as written in this article many times. Is it wrong: http://nls.io/post/optimize-nginx-and-php-fpm-max_children

pm.max_children = (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)