• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Very high TTFB when selecting FPM Apache vs FCGI :(

Code:
[root@a10-52-52-160 ~]# curl -s -w '\nLookup time:\t\t%{time_namelookup}\nConnect time:\t\t%{time_connect}\nSSL handshake time:\t%{time_appconnect}\nPre-Transfer time:\t%{time_pretransfer}\nRedirect time:\t\t%{time_redirect}\nStart transfer time:\t%{time_starttransfer}\n\nTotal time:\t\t%{time_total}\n' -o /dev/null https://fcgi-test.pwdev.de/

Lookup time:            0.004
Connect time:           0.087
SSL handshake time:     0.398
Pre-Transfer time:      0.398
Redirect time:          0.000
Start transfer time:    0.960

Total time:             3.017
[root@a10-52-52-160 ~]# curl -s -w '\nLookup time:\t\t%{time_namelookup}\nConnect time:\t\t%{time_connect}\nSSL handshake time:\t%{time_appconnect}\nPre-Transfer time:\t%{time_pretransfer}\nRedirect time:\t\t%{time_redirect}\nStart transfer time:\t%{time_starttransfer}\n\nTotal time:\t\t%{time_total}\n' -o /dev/null https://fpm-test.pwdev.de/

Lookup time:            0.004
Connect time:           0.081
SSL handshake time:     0.382
Pre-Transfer time:      0.382
Redirect time:          0.000
Start transfer time:    1.312

Total time:             2.781

To get TTFB value we need to subtract the "Start Transfer" value from the "Pre-Transfer" value here. In both cases, TTFB is less than 1sec and it is not so bad, actually.
 
Are you taking advantage of OPcache? OPcache can behave strangely with inefficient or error-ridden code which in some scenarios could possibly negate its benefits.
 
Thanks for your question. opcache.enable was set on so far. I disabled it but it didn't make it any faster. Still FCGI also had it enabled and it runs much faster?
Shouldn't FPM be faster in general?
 
Sorry, I really don't have the time for the entire screencast, intro and all, and it's likely that not many forum members will look at it. Do consider a different approach.

Are the two test sites from the first post still active?
 
Back
Top