Support » Plugin: UpdraftPlus WordPress Backup Plugin » Hundreds of Ajax access logs for 3 hours run up CPU

  • Resolved 温唯

    (@unbosomjam)


    Hi,
    Yesterday, my website has exhausted CPU usage which hosted in Cloudways.
    I checked the access log and found hundreds of UpdraftPlus Ajax, running for up to 3 hours.

    Below are hundreds of duplicate codes:
    my.ip.of.computer - - [18/Aug/2020:21:09:52 +0000] "GET /wp-admin/admin-ajax.php?action=updraft_a jax&subaction=activejobs_list&nonce=c2d5b596bf&downloaders=&_fs_blog_admin=true HTTP/1.0" 200 6 00 "https://mywebsite.com/wp-admin/options-general.php?page=updraftplus&tab=backups" "Mozilla /5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.414 7.125 Safari/537.36"

    my.ip.of.computer - - [18/Aug/2020:19:05:50 +0000] "GET /wp-admin/options-general.php?page=updraf tplus&tab=backups HTTP/1.0" 200 107670 "https://mywebsite.com/wp-admin/edit-comments.php" "Mo zilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84. 0.4147.125 Safari/537.36"

    my.ip.of.computer - - [18/Aug/2020:19:05:53 +0000] "GET /wp-admin/admin-ajax.php?action=updraft_a jax&subaction=ping&nonce=c2d5b596bf&_fs_blog_admin=true HTTP/1.0" 200 511 "https://mywebsite. com/wp-admin/options-general.php?page=updraftplus&tab=backups" "Mozilla/5.0 (Macintosh; Intel M ac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"

    What’s the situation?
    How to solve it?
    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Was a backup running at the time?
    If so, please could you send us a copy of that backup log?

    The contents will be too long to post here directly, but you can use an extgernal service such as Pastebin and post the link here.

    Thread Starter 温唯

    (@unbosomjam)

    Hi @dnutbourne
    No, no backup running at the time .

    Here is the link:
    https://pastebin.com/5DEy7vef

    Sorry, I’m not sure if this logs is what you need, if there is any information I can provide, please let me know.

    Thank You.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Were any backups run on the 18th (or morning of the 19th depending on your timezone)?
    The ajax calls mainly appear to be regarding the check the UpdraftPlus settings page makes when tracking an ongoing backup (to update the logs and status).

    Has running a backup caused a similar issue in the past, or has the issue occurred again since the other day?

    Thread Starter 温唯

    (@unbosomjam)

    Hi @dnutbourne
    Thanks For your reply.

    In the logs from 18/Aug/2020:19:32:32 +00 to 18/Aug/2020:21:09:52 +00 , I run backup manually on 21:26 +00,and it finished in 1-2 min.
    But the logs seems began from 19:32 , and ended on 21:09 , I did not backup during that period.

    Here is complete log again which occured today:
    https://pastebin.com/D2ZAviPP

    The Ajax occurred on 2020/08/20 ,from 20:28:18 +0 to 21:47:01 +0
    But my backup run manually from 20:28:18 +0, and finished in 1-2 min as always.
    I have no idea why the logs run until 21:47:01 +0.

    In the past, when backup run, it did consume CPU, but not take so long time and so many logs.

    • This reply was modified 6 months, 1 week ago by 温唯.
    • This reply was modified 6 months, 1 week ago by 温唯.
    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the delay.

    I have checked with our developers, and the backup status is polled whenever the UpdraftPlus settings page is open on the Backup/Restore or Clone/Migrate tabs, so it is likely that he settings page was left open for the 3 hours these messages are logged.

    Does CPU uasage spike if you open the UpdraftPlus settings Backup/Restore tab and leave it in the browser for 10-20 minutes?

    Thread Starter 温唯

    (@unbosomjam)

    Hi @dnutbourne

    Thanks for your reply and all your work.

    To be correct, as of now 2020/8/24 21:57:37 +0000, this problem has only occurred on 8/18 and 08/20.
    Even though I continued to manually backup every day, this did not happen on other days.

    In addition, in response to your question, I often leave Backup/Restore tab in the browser for several hours, especially after each manual backup is over , and CPU usage did not spike due to this.

    I don’t know why there were so many AJAX in those two days.

    Plugin Author David Anderson

    (@davidanderson)

    > I often leave Backup/Restore tab in the browser for several hours, especially after each manual backup is over

    It’s often possible to detect that a tab is *open* but not *active*. Polling is reduced or suppressed when not active (since there’s no user able to actually see any results of it).

    David

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hundreds of Ajax access logs for 3 hours run up CPU’ is closed to new replies.