Jump to content

Emby Server 4.9 is consuming entire CPU and Memory every time does anything - ffmpeg fails crashes entire NAS.


Recommended Posts

DarkStar1977
Posted (edited)

I've updated the server to latest version and this still happens even with Chrome browser.

Any plans to solve it ?

BTW, after showing the message "No compatible streams available" Emby Server frezes, but not only the app. the entire NAS WDPR4100 is frozen having to push the power button to force a shutdown.

I don't know what have been done with this version but is mainly consuming entire CPU and Memory every time that a simple metadata refresh happens, it's not properly optimized fot WD NAS.

I'm going to open this in WD forum.

Edited by DarkStar1977
DarkStar1977
Posted (edited)

The new release of Emby server 4.9 is consuming the entire CPU and Memory just by running a Metadata refresh on an item or scanning a library on my WD PR4100.

ffmpeg service when fails (AV1 4K Videos Topic) Consumes 100% of CPU and Crashes the entire server, making it unresponsive and forcing to power off a WD PR4100, the server is fully innaccessible by web frontend and even SSH, not responding.

I'm attaching the log after NAS restart, not sure if will be useful.

hardware_detection-63895577227.txt embyserver (1).txt

Edited by DarkStar1977
Posted

Hi, regarding resource consumption, please try removing these plugins:
 

2025-10-09 03:26:25.982 Info App: Loading statistics, Version=3.4.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/Statistics.dll
2025-10-09 03:26:25.982 Info App: Loading MediaBrowser.Plugins.StudioCleaner, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StudioCleaner.dll
2025-10-09 03:26:25.982 Info App: Loading InfuseSync, Version=1.5.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/InfuseSync.dll
2025-10-09 03:26:25.982 Info App: Loading ChapterApi, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ChapterApi.dll
2025-10-09 03:26:25.982 Info App: Loading playback_reporting, Version=2.1.0.7, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/playback_reporting.dll
2025-10-09 03:26:25.983 Info App: Loading DiskSpace, Version=1.0.6.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/DiskSpace.dll
2025-10-09 03:26:25.983 Info App: Loading EpMetaRefresh, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/EpMetaRefresh.dll
2025-10-09 03:26:25.983 Info App: Loading VirtualTV, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VirtualTV.dll
2025-10-09 03:26:25.983 Info App: Loading ClassificationMapper, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ClassificationMapper.dll
2025-10-09 03:26:25.983 Info App: Loading VantagePoint, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VantagePoint.dll
2025-10-09 03:26:25.983 Info App: Loading StrmExtract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StrmExtract.dll

Then restart the server and see how things compare.

Posted
Quote

ffmpeg service when fails (AV1 4K Videos Topic)

Is it a good idea to even try transcoding av1 on this machine? is that what you are referring to?

DarkStar1977
Posted
7 hours ago, Luke said:

Is it a good idea to even try transcoding av1 on this machine? is that what you are referring to?

Same videos are transcoded by Plex with no issue over the same HW.

And before you ask, no, I don't have plex and emby enabled simultaneously, in fact when I enable one, the other is disabled.

DarkStar1977
Posted (edited)
25 minutes ago, DarkStar1977 said:

Same videos are transcoded by Plex with no issue over the same HW.

And before you ask, no, I don't have plex and emby enabled simultaneously, in fact when I enable one, the other is disabled.

In fact, I've tried with Infuse to play the same videos and are transcoded from the emby server with no issues.

log attached

embyserver (2).txt

Edited by DarkStar1977
DarkStar1977
Posted
8 hours ago, Luke said:

Hi, regarding resource consumption, please try removing these plugins:
 

2025-10-09 03:26:25.982 Info App: Loading statistics, Version=3.4.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/Statistics.dll
2025-10-09 03:26:25.982 Info App: Loading MediaBrowser.Plugins.StudioCleaner, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StudioCleaner.dll
2025-10-09 03:26:25.982 Info App: Loading InfuseSync, Version=1.5.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/InfuseSync.dll
2025-10-09 03:26:25.982 Info App: Loading ChapterApi, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ChapterApi.dll
2025-10-09 03:26:25.982 Info App: Loading playback_reporting, Version=2.1.0.7, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/playback_reporting.dll
2025-10-09 03:26:25.983 Info App: Loading DiskSpace, Version=1.0.6.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/DiskSpace.dll
2025-10-09 03:26:25.983 Info App: Loading EpMetaRefresh, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/EpMetaRefresh.dll
2025-10-09 03:26:25.983 Info App: Loading VirtualTV, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VirtualTV.dll
2025-10-09 03:26:25.983 Info App: Loading ClassificationMapper, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ClassificationMapper.dll
2025-10-09 03:26:25.983 Info App: Loading VantagePoint, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VantagePoint.dll
2025-10-09 03:26:25.983 Info App: Loading StrmExtract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StrmExtract.dll

Then restart the server and see how things compare.

Removed those:

2025-10-09 03:26:25.982 Info App: Loading MediaBrowser.Plugins.StudioCleaner, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StudioCleaner.dll
2025-10-09 03:26:25.983 Info App: Loading DiskSpace, Version=1.0.6.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/DiskSpace.dll
2025-10-09 03:26:25.983 Info App: Loading VirtualTV, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VirtualTV.dll
2025-10-09 03:26:25.983 Info App: Loading VantagePoint, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/VantagePoint.dll
2025-10-09 03:26:25.983 Info App: Loading StrmExtract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/StrmExtract.dll

Those are running as an scheduled task so I don't see how they may interfere on a regular basis to HW performance, and I need them:

2025-10-09 03:26:25.982 Info App: Loading statistics, Version=3.4.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/Statistics.dll
2025-10-09 03:26:25.982 Info App: Loading ChapterApi, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ChapterApi.dll
2025-10-09 03:26:25.983 Info App: Loading EpMetaRefresh, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/EpMetaRefresh.dll
2025-10-09 03:26:25.983 Info App: Loading ClassificationMapper, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/ClassificationMapper.dll

Those 2, Infuse is a connector that I need as Infuse is capable to play from emby things that emby can't, and playback reporting is just taking info from the database and presenting it as a graphic usage interface:

2025-10-09 03:26:25.982 Info App: Loading playback_reporting, Version=2.1.0.7, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/playback_reporting.dll
2025-10-09 03:26:25.982 Info App: Loading InfuseSync, Version=1.5.2.0, Culture=neutral, PublicKeyToken=null from /mnt/HD/HD_a2/emby/plugins/InfuseSync.dll

After removing the 5th I mentioned I see no changes on performance impact, in fact with emby Server doing nothing, is consuming more RAM than installed:

image.thumb.png.819aa6c0bcc35638558b55327bfc123d.png

Posted
7 hours ago, DarkStar1977 said:

In fact, I've tried with Infuse to play the same videos and are transcoded from the emby server with no issues.

log attached

embyserver (2).txt 10.4 MB · 1 download

How do you know they're transcoding? There is no transcoding in this log.

DarkStar1977
Posted
1 hour ago, Luke said:

How do you know they're transcoding? There is no transcoding in this log.

Sorry, wrong word used. 

Replace transcoded by played:

In fact, I've tried with Infuse to play the same videos and are transcoded played from the emby server with no issues.

Posted

OK if you're playing on the emby macOS app then it has an issue with av1 that is resolved for the next app update. Thanks.

DarkStar1977
Posted
5 minutes ago, Luke said:

OK if you're playing on the emby macOS app then it has an issue with av1 that is resolved for the next app update. Thanks.

The issue happens with Chrome web browser and Apple TV, not just emby for Mac.

 

  • 4 weeks later...
Posted

I'm also experiencing high CPU usage. A few moments ago, I had a client connected with the Emby app on Android TV, and the CPU usage went above 20%. It was transcoding, but it had never exceeded 4% before. What I did notice is that, unlike before, the transcoding was much faster. I suppose that might be the reason.image.thumb.png.3244137caebc99c2c50ca1c84c8948c5.png

image.png.03bc109c107c46b80046d8c56eca0c8a.png

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