• Hi there,

    I am trying to debug some irrational load on a multisite server. To try and debug this, I have installed the New Relic Software the analyze the issues when the load spikes happen.

    One of the things that this software has immediately noted is that every one minute, the wp-includes/ms-files.php takes an abnormal amount of time (> 20 s). I looked through this file, and all it seems to do is to retrieve an image file when requested by the a remote host.

    I am not sure if this is the reason that I am seeing spikes on the server, but why would this file cause so long to load every one minute or so (for a different file in each case)? Any ideas and tips are very welcome!

    Vikram

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The ms-files calls come through a bit of htaccess magic. It’s possible your server’s not optimized well for that.

    Thread Starter Vikram

    (@gvix)

    Thanks. What would I need to do to fix it? Can you point me in the right direction?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What kind of server are you on? If it’s a VPS or a Dedicated Server, you can do a lot more than a shared box.

    Thread Starter Vikram

    (@gvix)

    It is a dedicated server.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Awesome sauce! 😀 Okay, google for ‘Optimize apache for WordPress’ (or nginx or IIS, depending on which one you’re using). There are tons of tutorials about how best to optimize your httpd.conf, for example.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ms-files load time’ is closed to new replies.