Mustafa, please please pay attention to what i post/suggest.
I've been using PHP-FPM for quite some time now and long before i started to use Kloxo-MR.
Let me know if you think i've overseen something though
So 2 major points with this thread is:
- shared APC (possible APCu) and OPCache: it's a security issue in shared environment since the caches are SHARED AMONG ALL PHP-FPM pools.
- We SHOULD NOT USE ONDEMAND as the PHP-FPM process manager as there is a BUG:
The FPM pm.ondemand process manager has a subtle bug in the way it uses edge-triggered polling (with epoll() or kqueue()) that causes it not to notice when multiple requests arrive at the same time, and thus not to fork the appropriate number of children to handle them.
If you don't change to DYNAMIC, i'll have to do it in my custom config files as we can't live with this bug.
Our clients mostly sync data and it's done in parallell requests.
Of course when the bug is fixed, it's very good choice of going back to ONDEMAND since that will fit a shared hosting server better
Please googling about how to php-fpm work.