• Resolved daminator

    (@daminator)


    Hi,

    I use BackWPup on all of my websites. They all backup to Dropbox. I’ve just started having problems on one site.

    It had been working for months, but now I get …

    1. Trying to create a WordPress export to XML file …
    [31-Jul-2017 00:12:46] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [31-Jul-2017 00:12:46] 1. Trying to create a WordPress export to XML file …
    [31-Jul-2017 00:18:49] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [31-Jul-2017 00:18:49] 1. Trying to create a WordPress export to XML file …

    How can I fix this?

    I have tried running the job manually, and get the same error as the automatic backup gets.

    Thanks

Viewing 8 replies - 16 through 23 (of 23 total)
  • Also have been experiencing this problem. Our site uses WooCommerce as well. The log files show thousands of lines like the following:

    [10-Aug-2017 16:12:12 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /.../wp-includes/cache.php on line 123
    [10-Aug-2017 16:12:12 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /.../wp-includes/load.php on line 677
    [10-Aug-2017 16:16:27 UTC] WordPress database error Not unique table/alias: 'tm' for query SELECT  t.*, tt.*, tm.meta_key, tm.meta_value , tm.meta_value FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id LEFT JOIN wp_termmeta AS tm ON (t.term_id = tm.term_id AND tm.meta_key = 'order')  LEFT JOIN wp_icl_translations icl_t
                                        ON icl_t.element_id = tt.term_taxonomy_id
                                            AND icl_t.element_type IN ('tax_faq_category','tax_tribe_events_cat') LEFT JOIN wp_termmeta AS tm ON (t.term_id = tm.term_id AND tm.meta_key = 'order')  WHERE tt.taxonomy IN ('faq_category', 'product_type', 'product_visibility', 'product_cat', 'product_tag', 'product_shipping_class', 'tribe_events_cat') AND ( ( icl_t.element_type IN ('tax_faq_category','tax_tribe_events_cat')  AND icl_t.language_code = 'en'  )
                                        OR icl_t.element_type NOT IN ('tax_faq_category','tax_tribe_events_cat') OR icl_t.element_type IS NULL )   GROUP BY t.term_id ORDER BY tm.meta_value+0 ASC, CAST(tm.meta_value AS SIGNED) ASC, t.name ASC  made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, BackWPup_Cron::run, BackWPup_Cron::cron_active, BackWPup_Job::start_http, BackWPup_Job->run, BackWPup_JobType_WPEXP->job_run, get_terms, WP_Term_Query->query, WP_Term_Query->get_terms
    [10-Aug-2017 16:17:27 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /.../wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 586
    [10-Aug-2017 16:17:27 UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /.../wp-includes/pluggable.php on line 69
    
    Plugin Support happyAnt

    (@duongcuong96)

    Hi @coreyw,
    You have a problem with PHP memory limit, please ask your host to increase your PHP memory limit.
    Or you can follow the GUI here: https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
    Hope that help ??

    Btw, If you find that BackWPUp is useful, please write a review and rating us, it’s really great for us and can encourage us to develop new free features and free support ??
    https://www.ads-software.com/support/plugin/backwpup/reviews/

    @duongcuong96,
    The memory limit was set to 128MB, which should be fine, and has been fine for the website until now. You can see that the errors were happening during the BackWPup cron job, and it only happened with the WordPress XML option checked. After unchecking it everything runs fine and no errors.

    Good morning! I was also having this same issue (timeouts, “job restart due to inactivity…”) starting around July 31st, 2017. I have had warnings since installation, but the job has always completed normally for several years.

    Now I have errors and the job hasn’t run since.

    TO FIX:

    I never had “WordPress XML export” checked. Only Database, File, and Installed plugins list. However, in my BackWPup Settings –> Jobs –> Maximum script execution time, I had it set to zero. Set that to 20, and test again. Success. No warnings, no errors.

    Should this perhaps be a default value of higher than zero during installation? Just a suggestion since this seems to be an extremely common issue, and setting it to 5, 10, or 20 doesn’t seem to negatively impact anything. Even overall runtime is about the same.

    Thanks for a good plugin! This has saved me several times.

    Site info:

    HOST: GoDaddy
    VERSION WP: 4.8.1
    VERSION backWPup: 3.4.1

    • This reply was modified 7 years, 3 months ago by greigner.

    Hi @greigner, actually our default is 30 seconds, so you must have at some point set it to 0, which indeed would cause an issue.

    I’m glad it is working for you now, though. ??

    tejasshah

    (@tejasshah)

    Hi,

    I have same issue backup is showing “Job restarts due to inactivity for more than 5 minutes”

    I have tried following options –
    1. Set job > Maximum script execution time to 25
    2. WordPress XML export from backup is already unchecked.

    Can you please let me know what can be the issue with this?

    Andreas W.

    (@aweissinpsyde)

    Did you check it with another archive format and also BackWPup ? Settings > Jobs > Reduce server load (try min to max).

    I am encountering this same issue:
    “Job restarts due to inactivity for more than 5 minutes.”

    I have tried running the job with the XML Export unchecked but still had the same error. I am running in a Multisite setup with about 30 sites through a VPS hosting service.

    Some Info:
    [INFO] BackWPup 3.4.4
    [INFO] WordPress 4.9.3

    [06-Mar-2018 15:57:19] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [06-Mar-2018 15:57:19] 2. Trying to create backup archive …
    [06-Mar-2018 15:58:06] Backup archive created.
    [06-Mar-2018 15:58:06] Archive size is 1.52 GB.
    [06-Mar-2018 15:58:06] 16361 Files with 1.66 GB in Archive.
    [06-Mar-2018 15:58:07] One backup file deleted
    [06-Mar-2018 15:58:07] One old log deleted
    [06-Mar-2018 15:58:07] WARNING: Job finished with warnings in 1635 seconds. Please resolve them for correct execution.

    • This reply was modified 6 years, 8 months ago by lorenleonard.
Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Backup problems “Job restarts due to inactivity for more than 5 minutes.”’ is closed to new replies.