What happens if i set php FCGI sub processes to none?

4 posts / 0 new
Last post
#1 Sat, 10/12/2019 - 02:32
adamjedgar

What happens if i set php FCGI sub processes to none?

I am running php-fpm What happens if i set FCGI sub processes to none? What happens if i set it to 20?

https://drive.google.com/file/d/1xN6QmkqpPtS7aHhHHWjTzO6q-sLm--AZ/view?u...

Does this only work with mod_php?

Mon, 10/14/2019 - 17:27
Dibs

Probably nothing if you are using PHP-FPM. Easily testable and can be set back. ;)

Tue, 10/15/2019 - 17:17
adamjedgar

I am using fpm. Does wordpress require FCGI sub processes when i am running FPM?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Fri, 10/25/2019 - 02:42 (Reply to #3)
calport

Nah, the StartServers, MinSpareServers, MaxSpareServers, MaxRequestWorkers directives do not apply.

For php-fpm with Virtualmin on a 4 GB 2 core server at vps01.indiax.com, I use:

In /etc/php/7.0/fpm/pool.d/www.conf pm = static pm.max_children = 25 pm.max_requests = 4000

My TTFB is much reduced (for India) with pm = static; sure it consumes more RAM than pm = dynamic or pm = ondemand but the tradeoff is worth it as I am able to demonstrate to clients the supposed SEO benefits of a lower TTFB. The pm.max_children = 25 caps the max simultaneous connections to 25, a very conservative value which can be increased up to double its value, if required. The pm.max_requests = 4000 resets php-fpm threads after they have handled 4000 requests each so that any memory leaks are contained.

Go ahead and give https://tiki18.vps01.indiax.com hosted on vps01.indiax.com a stress test, if you like...

Topic locked