Recommendations for multiple PHPFPM

114 views
Skip to first unread message

Webert de Souza Lima

unread,
May 9, 2017, 9:59:11 AM5/9/17
to highload-php-en
Hello,

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.

Webert Lima
Belo Horizonte - Brasil

Anoop Alias

unread,
May 9, 2017, 10:06:45 AM5/9/17
to Highload Php En
You can use CEPH or Gluster . 


--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Anoop P Alias 

Webert de Souza Lima

unread,
May 10, 2017, 12:46:26 PM5/10/17
to highload-php-en
Thanks.

I'll try using gluster. If anyone has other suggestions I'll be glad to hear it.
Reply all
Reply to author
Forward
0 new messages