Title: [Plugin: File Gallery] Server CPU Usage problem!
Last modified: August 20, 2016

---

# [Plugin: File Gallery] Server CPU Usage problem!

 *  [DWNY](https://wordpress.org/support/users/dwny/)
 * (@dwny)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-file-gallery-server-cpu-usage-problem/)
 * I received an alert from a client’s hosting company this morning informing me
   that they had to shut down our gallery page due to exceeding our CPU and MySQL
   usage limits – MySQL limit is currently 1000 times over our limit, and CPU usage
   is 6 times past the limit.
 * My client has a WP site where he posts a lot of images, and we’re using your 
   plugin to pull images from his posts and display them in a gallery. There are
   currently 961 posts on the site and I’d estimate that about 90% contain images.
 * Is there any way for me to optimize the plugin to **not** pull every image any
   time someone accesses the gallery page? The site is averaging between 15K and
   20K unique visitors per day and it is chewing up the CPU on the server.
 * I’d post a URL to the gallery page, but the host has unfortunately disabled it.
   Can anyone help? Thanks in advance!
 * [http://wordpress.org/extend/plugins/file-gallery/](http://wordpress.org/extend/plugins/file-gallery/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [lokendra1989](https://wordpress.org/support/users/lokendra1989/)
 * (@lokendra1989)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-file-gallery-server-cpu-usage-problem/#post-2986584)
 * I have solved this type of issue in 6-7 times in big websits as you are talking.
   this is due to BUG in the code and mysql you need to review the code and database
   indexing, also is there any thumbnail creating on run time that the cause to 
   make CPU down.
 * We can also help you to resolve this. come on skype netleon.lokendra
 * Thanks
    Lokendra
 *  Plugin Author [Aesqe](https://wordpress.org/support/users/aesqe/)
 * (@aesqe)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-file-gallery-server-cpu-usage-problem/#post-2986692)
 * [@dwny](https://wordpress.org/support/users/dwny/): do you use any caching plugins?
 * You can also turn caching of gallery queries in File Gallery to speed things 
   up a little bit. Go to your media settings page and find the ‘Cache’ subsection
   under File Gallery section, and check the checkbox next to ‘Enable caching?’.
 *  Plugin Author [Aesqe](https://wordpress.org/support/users/aesqe/)
 * (@aesqe)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-file-gallery-server-cpu-usage-problem/#post-2986776)
 * [@dwny](https://wordpress.org/support/users/dwny/): if you are getting this, 
   I hope that you could post a followup comment. Have you managed to resolve the
   issue? If yes – how?
 * Thanks! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: File Gallery] Server CPU Usage problem!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-gallery_fdfbfb.svg)
 * [File Gallery](https://wordpress.org/plugins/file-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/file-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/file-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/file-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-gallery/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Aesqe](https://wordpress.org/support/users/aesqe/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-file-gallery-server-cpu-usage-problem/#post-2986776)
 * Status: not resolved