Jump to content

Slow library scan


kjp4756

Recommended Posts

kjp4756

I have a feeling my server hardware is what's causing this but I figured I would ask anyway.  When I initiate a library scan either through the scheduled task or the "scan library" button it takes 15 minutes to complete.  From what I've read in some other threads this is way too long.

 

My server is a rather old intel server.  Dual pentium 4 3.2ghz xeons. 8GB DDR-400 RAM.  I have 2 3TB sata drives mirrored.  Running freenas 9.3. 

 

My media is on it's own zfs dataset.  This dataset is mapped READ-ONLY to my mediabrowser jail.  I have plex in another jail using the same dataset as read-only.

 

Server log shows absolutely nothing pertaining to the library scans.  The only messages I see are filesystem monitoring is turned back on after the scan completes.  Debug logging is enabled.

 

For media I have movies in 1 folder.  ~980 movies.  TV shows in another. Maybe 100 shows.

 

Here are 2 possible ideas:

 

1. Hardware is too slow.  CPU usage is almost maxed out when doing a scan.

2. Read-only is causing issues

 

Any other thoughts?

 

Thank you

 

UPDATE;  Here's a server log after I restarted mediabrowser with debugging.  The scheduled task scan started when mediabrowser started.  It gets to 60% quickly then slows down to a crawl.  I did stop the scan at 74%.

server-63558733147.txt

Edited by kjp4756
Link to comment
Share on other sites

kjp4756

Did some further testing today and determined the slowness is because of my old/slow server.

 

I installed freebsd 9.3 in a virtual machine on my workstation.  Installed mediabrowser and connected to my media via nfs.  Initial scan took a while but that is to be expected.  Subsequent scans take 5 minutes.  Much better than my server install.  

 

Once my new server build is complete then I'm sure every thing will be great.  I just need to wait for the android app to be available again so I can test that.  Overall I'm really liking mediabrowser.

  • Like 1
Link to comment
Share on other sites

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...