Jump to content

Heavy disk I/O on embyserver\programdata\data\library.db


Recommended Posts

Posted (edited)

Occassionally the embyserver.exe performs excessive writes to the following files and does not stop after many hours and consume 100% disk i/o killing performance --- this forces a restart of the emby server v4.2.1.0 on Windows 7.

 

C:\Program Files\embyserver\programdata\data\library.db and library.db-wal

 

AV is disabled, malware is disabled. Only restarting the embyserver.exe resolves the issue.

 

Ideas? defect? Config change needed?

Edited by scotthahnmn@gmail.com
Posted

Sorry, I already down graded to windows emby theater 3.0.6 and I think the issue with the embyserver slamming the disk i/o may have gone away. I will keep an eye out to see if this issue returns.

Posted

That's the emby theater client app. There won't be any difference in doing that.

  • 1 month later...
Posted (edited)

I upgraded home PC to windows 10 with latest updates. Things got a little better, but figured out the performance issue with disk I/O is only happening when the scheduled task gets the Emby Guide Data ... which runs for 28-30 minutes and the disk is 100% utilized with embyserver hogging the disk.

 

I can recreate the issue by selecting the schedule task in emby manager and running it ... even though it seems to be successful ... that task runs about once an hour even though it is set to run once every 12 hours.

 

Logs attached ... restarted embyserver that cleaned out the old log, log debug was enabled but does not seem to add anything additional for the emby schedule GET.

 

Screenshots also attached that shows that even though the disk I/O volume is not very heavy (under 3MB/sec and this disk can handle far more) but the embyserver process is accessing/writing to the library.db* files which is the cause ... stopping the get of the emby schedule resolves the performance issue and the disk i/o goes way down.

 

I have seen 5 shows recording at the same time and I watch another recorded show ... with no issues ...  disk i/o above 25MB/sec and disk % active is 20-30%.

 

Only when the emby scheduler gets the schedule data from emby source is there a problem. The emby scheduled task is configured for once every 12 hours but I can see that it is running at least once an hour and preventing me from being able to use emby effectively. 

 

I deleted the scheduled task in emby and added two separate tasks: run at 1am, run at 1pm (daily) this provides a fixed, known daily time when the task runs. will see if this helps.

embyserver.txt

post-386024-0-80422700-1571284043_thumb.jpg

post-386024-0-58896100-1571284053_thumb.jpg

Edited by SonnyMN
Posted

How many live tv channels do you have?

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