Jump to content

MBS - Library rescan settings to avoid frequent long rescans


Recommended Posts

TheShanMan
Posted

I added a 14 year digital photo collection to media browser and now rescans take 10 minutes. Given that I had scans set for every 15 minutes, that's obviously not very optimal. Previously rescans would take seconds. It would be nice if you could configure multiple scan tasks for scanning different things with different frequencies. I'd be much more tolerant of the long scan times if I could tell it to only scan the photos collection once a day at 3 AM or something like that, while letting everything else scan much more frequently.

 

Any plans for this? Am I alone in experiencing long rescan times?

Posted (edited)

Every 15 minutes is a bit too often.

 

Your library is monitored in realtime, so that if anything is added/deleted, then it is updated straight away.

 

I only run a library scan every 2 hours, but only because that's how it's always been setup :)

 

My scan takes about 2 minutes.

 

.

Edited by CBers
  • Like 1
TheShanMan
Posted

Does that mean it shouldn't take 10 minutes? There are 42,400 photos in 223 directories of a network share.

 

As for CBers point, we'll see how well it works because I've had to delete the trigger. I bumped it up to 15 minutes in the past because I found that the realtime monitoring didn't work well, and consequently even every 2 hours wasn't enough. Maybe it works more reliably now though. Nevertheless, I don't want the scan to bog down my htpc at server startup either.

Posted

Restart MBServer, if it is set to scan automatically on startup then wait for it to finish, otherwise run a scan and wait until it is finished. Then post your server log here.

TheShanMan
Posted

Bump. I don't want to start another thread if this isn't a bug. It doesn't seem like a bug to me. It just seems like I have a huge collection of photos and want a way to reduce the load on my server if I have regularly scheduled scans.

 

Back to CBers thought, I have noticed one scenario that directory watching doesn't seem to cover. Network shares that are sometimes not available don't automatically get picked up when they come online. That may very well be why I scheduled my scans for every 15 minutes. So if there is an alternate means to getting it to detect a network share coming online, that may get me over the hump with this problem. But otherwise additional configuration options for scans (and the ability to have more than one instance of a scan task) seems to be the only solution to my problem.

TheShanMan
Posted (edited)

Does that mean that 42,000+ photos in 200+ directories on a network share shouldn't take that long? That's what I'm trying to find out before considering it to be a defect that needs investigating. Seems like a simple question but it keeps going unanswered.

Edited by TheShanMan
Posted

Having not added 42,000+ photos in 200+ directories to my own server, I don't know if it should take that long or not. We might be able to identify any potential issues if we could take a look at a log.

Posted

Does that mean that 42,000+ photos in 200+ directories on a network share shouldn't take that long? That's what I'm trying to find out before considering it to be a defect that needs investigating. Seems like a simple question but it keeps going unanswered.

 

I have just checked my photo collection, and I have 31,000 photos in 420 folders.

 

My 2-hourly scan takes less than 2 minutes.

 

All of my photos, videos and music are online the whole time, so perhaps it's a problem with them being "offline" that is the problem.

 

How do they show in the Dashboard when offline ??

 

I know if videos are offline then they are marked offline - do photos ??

TheShanMan
Posted

Is your collection on the MB server or on a network share? What do you mean by online or offline? My network share is not offline during scanning (actually, it's almost never offline - only during an infrequent reboot).

 

While I'll happily get a log when I get a chance, I guess even if scanning time dropped to a few minutes after the hypothetical MBS bug gets fixed, I still would think it's a waste to rescan a huge yet infrequently updated collection every 15 minutes or whatever. I think some types of collections warrant more frequent rescans than others, so it would be so much more efficient if some collections were scanned frequently and some were scanned infrequently.

 

Alternatively, maybe I should submit a bug for the fact that the scanner doesn't seem to be detecting network shares coming online. If the automatic folder watcher worked 100%, I'd have no need for frequent scans.

 

Thoughts, john?

Posted (edited)

My collection is under Drive Bender pooling on the same server as MBS is running on.

 

You said "that directory watching doesn't seem to cover. Network shares that are sometimes not available don't automatically get picked up when they come online" so I assumed you had shares that go offline occasionally.

 

Are you saying that the photos aren't visible in the MBS Dashboard?

 

.

Edited by CBers
TheShanMan
Posted

No, the network share that sometimes goes offline is on a different machine and part of my video collection. Sorry for the confusion.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...