Support » Fixing WordPress » Intermittently (very) long initial load times

  • Hi all,

    I’m pulling my hair out trying to solve this issue, maybe someone has an idea.

    I’m hosting on a WiredTree Managed VPS768 using WordPress 3.0.3, PHP 5.2.6 and MySQL 5.0.91-community.

    I’m experiencing intermittent delays of anywhere from 10 to 35 seconds when loading my site . The delays do not occur on each load. In fact, once the site has loaded, subsequent loads are quite fast. But after a while (say, 10 or 20 minutes, sometimes several hours) I get the delay again.

    I used Firebug to log the whole process and the delay occurs between the initial GET and the first response from the server. Once the server starts sending data the transfer is fast.

    So the delay is occurring on the server itself. This could, as far as I understand it, involve Apache, PHP or MySQL or a combination of them. I’m ruling out Apache because other sites on the same server that don’t run WordPress don’t have any issues. That leaves PHP and/or MySQL.

    One other thing to take into account is that I have another site on the same server that is running a seriously out-of-date version of WordPress (I know, I know, I should update) and I’ve never had any issues whatsoever with that site. So the newer version of WordPress itself might be the culprit.

    I’ve also tried disabling all plugins and reverting to the standard Twenty Ten theme, but the issue subsists. I’m also using W3 Total Cache on another site on the same server, but that site has the same issues.

    Support from WiredTree so far hasn’t been very helpful. It took several back-and-forth emails to get the support rep to acknowledge that the issue is server-side and has nothing to do with large page elements or remote servers not being reachable. Nonetheless, the support rep suggested installing memcache, memcached and a caching plugin. I told him that I didn’t think randomly installing caching was a good idea since the site isn’t getting a lot of traffic and that, if the caching indeed did improve performance, that would prove that there was something else going on that the caching would merely cover up. In my mind, if a site with low traffic is experiencing performance issues on load and caching solves those issues, there has to be an issue with either PHP or the database. Anyway, he insisted on the caching, so he installed the memcache stuff and I installed W3 Total Cache. The next day, the issues resurfaced.

    So, at this point, I can’t think of anything else I could try. The support rep is probably going to continue on his trial and error quest and will eventually blame WordPress or something outside of his responsibility.

    My approach would be to check Apache, PHP and MySQL log files for big gaps between time stamps which would indicate where the delay is occurring. Only problem is I’m not too familiar with WiredTree’s implementation of CentOS, the log files aren’t where they usually are. And the support rep isn’t being very helpful in this regard either.

    Is anyone experiencing similar issues or does anyone have an idea what could be causing this? I’ve found some threads on these forums where users are experiencing delays, but they were mostly related to specific plugins or older WordPress versions.


Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m new to wordpress. I just installed it so haven’t done much, but I can’t believe how slow it is. It is unuseable at these speeds. I don’t have any problems with other sites so don’t think it is my connection. Can someone help?

    I added some logging to WP and that showed that the delays were definitely occurring inside of the WP loop, but at random places. The length of the delays also varied greatly, from a couple of seconds to over a minute. What was interesting was that the delays were much shorter during GMT morning hours and got worse in the afternoon.

    In the end I had WiredTree move my VPS to another machine and that solved the issues. Apparently some other VPS user on my old machine was doing some heavy lifting or WT is overselling their machines

    Very interesting.

    I too have been pulling my hair out since the end of Dec 2010 with what sounds like an almost identical situation.

    I have several WP sites on a VPS768, same php and mySQL versions as you.

    I have been having connection timeouts constantly since end of Dec and WiredTree claims there are no issues with my server load, etc.

    But I have NO problems whatsoever with ANY other sites.

    I’ve checked with my ISP, checked all the things I know to check…to no avail. WiredTree is no help and just says it’s me.

    I’ve been with WT for several years. It may be time to look for a new host.

    I posted a LENGTHY reply yesterday Why would you delete it… really DICK move…

    I happen to have the same problem with my website, or at least it seems to be. My site,, is hosted on my home server. When you go to the site is takes about 10.5 seconds the first time, then it will be extremely fast. It continues to be fast for a bit, then reverts to one slow load, then once again going fast. Kind of like caching except, it is caching WordPress itself???

    I tried putting a regular html file and it was fast. A simple “Hello World” PHP script is also fast….


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Intermittently (very) long initial load times’ is closed to new replies.