# Infinite "Log Scanned up to...(n)" loop

**URL:** <https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287>\
**Category:** Percona XtraBackup\
**Created:** [September 10, 2012, 8:58pm UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287 "2012-09-10T20:58:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenma](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tenma](https://forums.percona.com/u/tenma)\
**Post date:** [September 10, 2012, 8:58pm UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287/1 "2012-09-10T20:58:47Z")

</div>

Hi,

I am trying to run nightly full backups using the latest innobackup ex. I have encoutnered a problem whereby after all tables have been backed up and copied to the backup file, I encounter an infinite loop of:

> > log scanned up to (14051476102)\>\> log scanned up to (14051476102)\>\> log scanned up to (14051476102)\>\> log scanned up to (14051476102)\>\> log scanned up to (14051476102)\>\> log scanned up to (14051476102)\>\> log scanned up to (14051476102)

I have left this running for over 24 hours but it won’t finish. CPU usage is at 0% during this time. ‘ls -lh’ shows the backup file has not been updated since about 5 minutes after the backup started.

This is the command line I am running:

/usr/bin/innobackupex --compress --safe-slave-backup --defaults-file=/data/cred/cred.cnf --extra-lsndir=/vol/tmp --stream=xbstream $folder/$fn \> $folder/$fn

if I remove the --stream=xbstream then it works fine. Switching from xbstream to tar does not work either.

Any idea what’s going on?

---

<div class="post-metadata">

**Author:** ![tenma](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tenma](https://forums.percona.com/u/tenma)\
**Post date:** [September 24, 2012, 1:06am UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287/2 "2012-09-24T01:06:18Z")

</div>

Any ideas about this?

---

<div class="post-metadata">

**Author:** ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)\
**Post date:** [September 24, 2012, 4:07am UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287/3 "2012-09-24T04:07:13Z")

</div>

Hi,

Some questions:

Is the server a slave?

Are you using mysqld\_multi?

Regards.

---

<div class="post-metadata">

**Author:** ![mparrett](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@mparrett](https://forums.percona.com/u/mparrett)\
**Post date:** [September 16, 2014, 11:42am UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287/4 "2014-09-16T11:42:35Z")

</div>

I know this thread is pretty old, but I just wanted to add that if you are streaming a backup, you should double check that your connection to the remote host is working properly. For example, if your ssh authentication isn’t working, you can see this “scanning log” infinitely type of problem.

---

<div class="post-metadata">

**Author:** ![jichenghan](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jichenghan](https://forums.percona.com/u/jichenghan)\
**Post date:** [February 16, 2017, 2:00am UTC](https://forums.percona.com/t/infinite-log-scanned-up-to-n-loop/2287/5 "2017-02-16T02:00:25Z")

</div>

me too.I also encountered such a problem
