There are few topics on this, but most of them are dealing with some older versions .Hope you wont be mad at me if I start new topic, maybe a little more updates then the previous ones. Or maybe I missed something and some1 could lead me to it.
To start with, we have a 12Cores (Hyper-thread 'ed), and 24G RAM, SSD Drives, 64-bit Debian6
So I have a php-cgi running with script i found Tomasz Sterna 's site
Nginx I installed from source 10.0.13.
I have the:
PHP_FCGI_CHILDREN=12 PHP_FCGI_MAX_REQUESTS=1000 worker_processes 12; worker_connections 4096;
I think I should have more
12, as I saw people going in hundreds on this value. But whenever I restart
php-cgi with a higher value,
php-cgi script takes too long to restart, so I
CTRL+C it, so I dont have too much of a downtime.
Maybe some one could explain me how these values play together ? I did quite some reading, still can't get my head around, and dont really have much time for testing.
p.s. Or should I just use FPM and it will take care of it self ?