• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue TTFB slow websites under plesk

garcue

Regular Pleskian
Hi everyone,

After updating plesk to version 18.0.30 I have started having problems with PHP. Currently I have loading times of my pages of more than 10 seconds when this did not happen before.

user@srv:~# 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://domain.com/wp-content/uploads/2016/11/img.png

Lookup time: 10,517745
Connect time: 10,522763
SSL handshake time: 10,542010
Pre-Transfer time: 10,542098
Redirect time: 0,000000
Start transfer time: 10,551202

Total time: 10,551225

Any ideas what I can do to correct the problem?
 
The numbers show that the only thing that is slowing down the site is the DNS lookup. Did you change anything on that, e.g. from IPv4 to IPv6? It almost "feels" like a timeout after 10 seconds. The system tries to resolve the address, e.g. to an IPv6 address, then it tries again to resolve to another address etc. What has been changed with DNS, IP addresses or things that are related to it?
 
Hi Peter,

Thanks for your answer, we haven't touched anything regarding DNS or IP. I have other servers configured in the same way and those work without problem.

I've started having problems after updating to plesk obsidian 18.0.31.

I don't know if someone else has the same problem.

All the websites that I have under the server load with a TTFB of at least 10 seconds.

When a week ago they worked perfect
 
Last edited:
I just ran a test on pingdom and this has been the result, so we downloaded the DNS issue

1605649726389.png
 
That's interesting, because it does not at all match the first measurement.

What DNS servers is your system using (listed in /etc/resolv.conf)? Have you tried using other servers there, just to rule out that the system might have a DNS resolution issue? Have you checked what IP protocol version is currently being used in the domain, e.g. if you have set IPv6 and IPv4 but the server only uses IPv4?

I am asking for DNS again, because I know the issue basically from FTP where some FTP software tries to connect through IPv6 first if available, then fails, and several seconds later does a new attempt with IPv4, which leads to exactly this constant delay that you are experiencing with your website. It might be a similar issue, because in your initial post the lookup time was almost equal the transfer time.
 
Back
Top