• Resolved Eoinb

    (@eoinb)


    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

    (@imagely)

    @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

    (@eoinb)

    @imagely Thank you.
    I appreciate your response.
    Eoin

    Plugin Contributor Imagely

    (@imagely)

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