Title: Getting high CPU Usage
Last modified: October 24, 2017

---

# Getting high CPU Usage

 *  Resolved [Eoinb](https://wordpress.org/support/users/eoinb/)
 * (@eoinb)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-high-cpu-usage/)
 * Hi
    My hosting company is blocking site due to high CPU usage. One suggestion
   they say is to increase cron time to about 30 minutes on certain cron jobs. (
   this all means noting to me). One of the jobs is | ngg_delete_expired_transients
   | 2017-10-24 10:03:04 | now | 15 minutes | If this is increased will it effect
   working of plugin?
 * Thanks

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

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-high-cpu-usage/#post-9620161)
 * [@eoinb](https://wordpress.org/support/users/eoinb/) – Extending that timer will
   not have a significant affect on most sites, it should not have any significant
   effect currently.
 * The following define statements might be of use for you to consider:
 *     ```
       define('NGG_RENDERING_CACHE_TTL', 1800); // 30 minutes
       define('NGG_DISPLAYED_GALLERY_CACHE_TTL', 1200); // 20 minutes 
   
       define(‘NGG_CRON_SCHEDULE’, 600); // 10 minutes
       define(‘NGG_DISPLAYED_GALLERY_CACHE_TTL’, 1200); // 20 minutes
       ```
   
 * Thanks!
 * – Cais.
 *  Thread Starter [Eoinb](https://wordpress.org/support/users/eoinb/)
 * (@eoinb)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-high-cpu-usage/#post-9625699)
 * [@imagely](https://wordpress.org/support/users/imagely/) Thank you.
    I appreciate
   your response. Eoin
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-high-cpu-usage/#post-9627330)
 * [@eoinb](https://wordpress.org/support/users/eoinb/) – You’re welcome.
 * – Cais.

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

The topic ‘Getting high CPU Usage’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/getting-high-cpu-usage/#post-9627330)
 * Status: resolved