I'm frequently experiencing random freezing processes using multiple instances of PHP-FPM with CephFS.
I see that multi php-fpm is a common request, and that memcached is a good dropin for sessions, but what is a good solution for file uploads?
I'm using NGINX + PHP-FPM for serving Roundcube Webmail. I run 2 nginx servers and 2 php-fpm servers, in the following set-up:
- 2 hosts, each has 1 nginx and 1 php-fpm.
- Nginxs are load balanced by DNS.
- Any Nginx's will send requests to both php-fpm servers.
- php-fpm have shared filesystems across the hosts (cephfs)
I would like to know if I could do different. I use a shared filesystem because of attachment uploads when sending an e-mail.
Thanks in advance.
Belo Horizonte - Brasil