WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
Server CPU Usage problem! (4 posts)

  1. DWNY
    Member
    Posted 1 year ago #

    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/

  2. lokendra1989
    Member
    Posted 1 year ago #

    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

  3. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    @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?'.

  4. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    @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! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.