drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

Change example.com.conf to set keep_conn just if your pools is static

Open guiajlopes opened this issue 9 years ago • 1 comments

https://groups.drupal.org/node/229898#comment-1091368

guiajlopes avatar Jul 10 '15 01:07 guiajlopes

Well not necessarily, because the connection is not directly to a child but to the fpm process as a all that then marshalls the requests to the children. The idea is to have a pool of keepalive connections so that when a PHP request comes the PHP FCGI module from nginx can proxy the request to php-fpm without having to establish a new TCP connection (thereby doing the 3 step handshake and so on).

perusio avatar Jul 17 '15 12:07 perusio