Title: ms-files load time
Last modified: August 20, 2016

---

# ms-files load time

 *  [Vikram](https://wordpress.org/support/users/gvix/)
 * (@gvix)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/)
 * 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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2247983)
 * 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](https://wordpress.org/support/users/gvix/)
 * (@gvix)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2248108)
 * Thanks. What would I need to do to fix it? Can you point me in the right direction?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2248118)
 * 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](https://wordpress.org/support/users/gvix/)
 * (@gvix)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2248124)
 * It is a dedicated server.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2248161)
 * 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.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 5 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/ms-files-load-time/#post-2248161)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
