mediacrawler_rewalk another cause for wake ups

I had thought I was done with this sleep, no sleep problem. For the last little while I have learnt not to use my Cloud as much and have pretty much left it sleeping and for the most part I am getting about 3 wake ups per a 24 hour day.

Yesterday, I woke it up to copy a bunch of files over to the device,  turned on standby and left it alone.

Tonight I signed on expecting the same except I found 14 wake-ups…

Jul 24 02:09:35 WDMyCloud logger: exit standby after 17 (since 2015-07-24 02:09:13.329627002 -0700)
Jul 24 02:20:28 WDMyCloud logger: exit standby after 345 (since 2015-07-24 02:14:38.179627002 -0700)
Jul 24 05:03:55 WDMyCloud logger: exit standby after 9499 (since 2015-07-24 02:25:30.699627002 -0700)
Jul 24 06:21:50 WDMyCloud logger: exit standby after 4368 (since 2015-07-24 05:08:57.629627002 -0700)
Jul 24 07:12:45 WDMyCloud logger: exit standby after 2748 (since 2015-07-24 06:26:52.689627002 -0700)
Jul 24 07:35:32 WDMyCloud logger: exit standby after 1060 (since 2015-07-24 07:17:47.719627002 -0700)
Jul 24 08:36:13 WDMyCloud logger: exit standby after 3333 (since 2015-07-24 07:40:35.449627002 -0700)
Jul 24 09:25:16 WDMyCloud logger: exit standby after 2635 (since 2015-07-24 08:41:15.949627002 -0700)
Jul 24 10:58:58 WDMyCloud logger: exit standby after 5314 (since 2015-07-24 09:30:18.999627002 -0700)
Jul 24 11:29:24 WDMyCloud logger: exit standby after 1518 (since 2015-07-24 11:04:01.319627002 -0700)
Jul 24 17:55:29 WDMyCloud logger: exit standby after 22857 (since 2015-07-24 11:34:26.779627002 -0700)
Jul 24 18:49:03 WDMyCloud logger: exit standby after 2907 (since 2015-07-24 18:00:31.649627002 -0700)
Jul 24 20:01:13 WDMyCloud logger: exit standby after 4021 (since 2015-07-24 18:54:06.119627002 -0700)
Jul 24 22:47:20 WDMyCloud logger: exit standby after 9660 (since 2015-07-24 20:06:15.629627002 -0700)

Now ever since that firmware update that left me weary of updates, I have left monitorio.sh pretty much as-is except for the two sync at the end of the script. Now the one thing that had changed in “my version” of monitorio.sh was the removal of the touch /tmp/mediacrawler_rewalk but not in this version.

This flag is created when ever you copy a large amount of files over to the Cloud indicating that a scan should be performed because you have added additional files.

All of my media scan services wddispatcherd, wdphotodbmergerd and wdmcserverd have been turned off. twonky is off. 

So although monitorio.sh does create this flag, which of my services is waking up the hard drive every hour or is it monitorio.sh that keeps noticing that the hard drive has additional files and keeps touching that rewalk file causing a wake up.

Any ideas?

Hello,

What happens if your turn off the media server on the unit, does it still wake the drive up?

ArMak wrote:

Hello,

 

What happens if your turn off the media server on the unit, does it still wake the drive up?

hmmm… apparently Media Serving is off; I didn’t know that…

Cloud access is on and was one of the reasons last year that my cloud kept waking up at exact 25 minute intervals or was it 29 minutes. Turned off Cloud access last year and the wake ups disappeared. Although after I turned it back on, there were no further wake ups. 

I’m pretty sure that it has to do with the fact that more files have been added and the mediacrawler_rewalk flag is on.

However I manually deleted the mediacrawler_rewalk (empty file) flag from tmp yesterday night… and commented out the touch mediacrawler_rewalk in monitorio.sh and I still got 7 wakeups for 6.5 hour sleep.

Jul 25 01:16:52 WDMyCloud logger: exit standby after 7 (since 2015-07-25 01:16:39.859627001 -0700)
Jul 25 01:27:52 WDMyCloud logger: exit standby after 352 (since 2015-07-25 01:21:55.189627001 -0700)
Jul 25 01:33:08 WDMyCloud logger: exit standby after 8 (since 2015-07-25 01:32:55.639627001 -0700)
Jul 25 03:27:47 WDMyCloud logger: exit standby after 6571 (since 2015-07-25 01:38:10.989627001 -0700)
Jul 25 03:54:47 WDMyCloud logger: exit standby after 1313 (since 2015-07-25 03:32:49.679627001 -0700)
Jul 25 04:27:50 WDMyCloud logger: exit standby after 1675 (since 2015-07-25 03:59:49.799627001 -0700)
Jul 25 07:49:26 WDMyCloud logger: exit standby after 11788 (since 2015-07-25 04:32:53.049627001 -0700)

Samba is also turned off… and also cron.

So this morning, I took it off standby and left it on and turned on cron (just in case the log files were getting too large).

Not going to trace this anymore… my sleep was working for awhile…