Question

Long wait/load time 2 or 3+ seconds to load page‏

  • Posted December 19, 2013

Hi,

I installed Wordpress with LEMP (Linux (Ubuntu 12.04 x64, Nginx, MySQL, PHP(php-fpm)) on droplet, website location is private, so I am gonna use example.com, everithing clear without almost any touch (only theme), but something that get me into troubles is wait time in inspect element > Network, like on http://prntscr.com/2cgv5a My theme is legal copy of pinclone.net/demo/ theme, but there are no any problems with that load/wait. I am not going to install any cache plugin before fixing this up, cause it must not be over 2-3 seconds. I tried to remove every single plugin but it doesn’t help. Used WP default theme but only a half of load time cut has been noticed - http://prntscr.com/2cgx5o It’s something about serve response, am I right? The one who fix this up will maybe get symbolic prize.

Do I need to fix something in cloudflare? http://prntscr.com/2cgz37

Thanks in advance people!

Bye!

Subscribe
Share

hi salchind, I’m facing this problem, wait time (TTFB) is extremely high (1.8 or 2+ seconds) and I have no idea why it is. Did you find out what happened with your server?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Kamal, <br> <br>I installed it but there’s nothing causing this problem, if we’re up to believe P3. <br>I have tested site on Pingdom, so please look carefuly: <br>http://postimg.org/image/yyip4pzlp/ <br>Please took at loading/wait time, and two of files which needed to load. <br>Can you explain the reason of it? <br>DO support said http://prntscr.com/2dieq0 (read from bottom to top), I tried that, but nothing changed. <br> <br>Is it possible to fix this without cache? <br>Another problem is CPU load, which I mentioned, http://prntscr.com/2cm8zc, it ran up to 100% with only 11 clicks on home page, is it problem with php-fpm? <br> <br>Thanks people!

I’d suggest installing and enabling the P3 profile profiler by Godaddy. <br> <br>http://wordpress.org/plugins/p3-profiler/ <br> <br>This might help you see if a plugin is causing an issue. Also use Pingdom tools and look at a waterfall layout to see if something is causing the problem.

No, it’s not. Something is using up too much CPU. Try disabling all of the plugins and enabling them one by one, see which one is causing issues.

Pablo, <br>I had 1GB too, same machine. <br> <br>I looked on top processes in ssh and seen this - http://prntscr.com/2cm8zc <br>Is it normal for CPU to load up to 100% when I click 10-15 times on homepage. I wouldn’t say so. <br> <br>Thanky you for trying to help me, Pablo. <br> <br>Bye.

<b>“… but now, on the same stack with 1GB memory, it has problems.”</b> <br> <br>Did you have more or less memory, before? <br> <br><b>“Is Varnish a good solution together with W3 ?”</b> <br> <br>Yes. They work <i>very</i> well. <br> <br>Alternative PHP Cache (APC), memcached, + the PHP memcached extension will also speed things up.

Hi, <br> <br>Thanks Pablo, I said that because the last couple of times Wordpress ran without problems, but now, on the same stack with 1GB memory, it has problems. <br>See: <br>http://prntscr.com/2ch982 <br>http://prntscr.com/2ch9q9 <br> <br>I am saying this because friend of mine uses 1GB RAM droplet with no latency almost at all, on his Wordpress site. <br> <br>Is Varnish a good solution together with W3 ? <br> <br>Ty, I will try W3 TC, which noticed on many forums, but primarly wait for many responses here, so maybe someone with same problem will answer. <br> <br>Bye and many thanks Pablo for fast response.

<b>“I installed … Ubuntu 12.04 x64…”</b> <br> <br>Do you have 4 GB, or more, of memory on your server? If not, you’re better off with a 32-bit OS. <br> <br><b>“… cause it must not be over 2-3 seconds.”</b> <br> <br>Why do you say that? <br> <br>Check out <a href=“https://www.digitalocean.com/community/articles/how-to-install-wordpress-nginx-php-and-varnish-on-ubuntu-12-04”>How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04</a> and the <a href=“http://wordpress.org/plugins/w3-total-cache/”>W3 Total Cache</a> plugin. <br> <br>Also, WordPress best-practices recommend a CDN for static content, e.g. a 2nd droplet or Amazon CloudFront.