Jump to content
SpaceCabbi

Emby Server on Freenas Jail stalls when skipping

Recommended Posts

SpaceCabbi

So new but happy user of emby now today something odd. When playing a movie and skipping the intro it stalled, 

As in not responding complete hookup it wil take a minute orso and i can get back onto the server.
Now interestingly enough there is no error none nada 0.

It look simulair to: https://emby.media/community/index.php?/topic/72236-emby-stops-during-playback/

So logs included although i doubt they are helpful it does seem to be related to remux ? Most plays are directstream.

embyserver.txt ffmpeg-remux-2baf661c-36e8-4ae1-b61a-a4b79208d1d2_1.txt

Share this post


Link to post
Share on other sites
SpaceCabbi

Nevermind it would seem that Emby has a higher quality standard my cpu just can't keep up 😳😲

Share this post


Link to post
Share on other sites
Luke

Hi, what do you have for a cpu?

Share this post


Link to post
Share on other sites
SpaceCabbi
1 hour ago, Luke said:

Hi, what do you have for a cpu?

CPU: Intel - Xeon E3-1230 V6 3.5GHz Quad-Core Processor
Motherboard: Supermicro - MBD-X11SSM-F Micro ATX LGA1151 Motherboard
Memory: Samsung - 32GB (2 x 16GB) DDR4-2133 Memory
Controllers: IBM-ServeRAID-M1015 SAS HBA (LSI9220-8i) flashed to IT mode
Chassis: HPE 24 Bay 3Gb SAS Expander in a EMC Avamar Gen4s DRBGP
Storage: 12x Hitachi HGST ultrastar 4tb Raidz2

It started to keep up at around 4Mbps 1080p This might be a jail not getting or using enough CPU First it thought ffmpeg wasn't using enough threads.
I haven't accepted the cpu is the bottleneck btw but more that there is something in my config that is the issue rather than Emby. I wish native dot.net would hurry the fuck up i am not a fan of mono. 

Share this post


Link to post
Share on other sites
MRobi
6 hours ago, SpaceCabbi said:

CPU: Intel - Xeon E3-1230 V6 3.5GHz Quad-Core Processor
Motherboard: Supermicro - MBD-X11SSM-F Micro ATX LGA1151 Motherboard
Memory: Samsung - 32GB (2 x 16GB) DDR4-2133 Memory
Controllers: IBM-ServeRAID-M1015 SAS HBA (LSI9220-8i) flashed to IT mode
Chassis: HPE 24 Bay 3Gb SAS Expander in a EMC Avamar Gen4s DRBGP
Storage: 12x Hitachi HGST ultrastar 4tb Raidz2

It started to keep up at around 4Mbps 1080p This might be a jail not getting or using enough CPU First it thought ffmpeg wasn't using enough threads.
I haven't accepted the cpu is the bottleneck btw but more that there is something in my config that is the issue rather than Emby. I wish native dot.net would hurry the fuck up i am not a fan of mono. 

Your CPU should be fine for 1080p, but you should look at some more RAM. 

General rule of thumb on FreeNAS is 1Gb/Tb of storage. That's just for the file system. I would bet if you were to check your memory usage during playback you'd be maxed out or pretty close to it.

Share this post


Link to post
Share on other sites
SpaceCabbi
1 hour ago, MRobi said:

Your CPU should be fine for 1080p, but you should look at some more RAM. 

General rule of thumb on FreeNAS is 1Gb/Tb of storage. That's just for the file system. I would bet if you were to check your memory usage during playback you'd be maxed out or pretty close to it.

I have read that somewhere as well but I have 32Gb and 32TB Storage so should be fine.

But nevertheless has a look at history to confirm jrKdISx.png

Share this post


Link to post
Share on other sites
adrianwi

I have that processor in my FreeNAS box and have no problems at all with emby playing 1080p content.  I never had any issues with an earlier E3-1231v3 and 32GB RAM but I had less storage.

When I went to school 12 x 4 was a little more than 32, but the 1/1 rule of thumb starts to blur beyond 16GB RAM from my experience.  That said, FreeNAS loves RAM and that motherboard should allow another 32GB so it shouldn't be too expensive to upgrade?

I'm running the X11SSL-CF with 64GB RAM and 8x8TB drives.  I've also got 6 jails and 4 VMs running without any issues. 

Good luck!

 

 

Share this post


Link to post
Share on other sites
MRobi
4 hours ago, SpaceCabbi said:

I have read that somewhere as well but I have 32Gb and 32TB Storage so should be fine.

You're definitely fine for running the filesystem. But what's left over for apps? Looks like as low as  1.84Gb free. And you've got how many jails running plus streaming video?

FreeNAS and ZFS is highly dependent on RAM. It'll take whatever you throw at it. I've personally got 96Gb of ram, 75 of which is being used by the ZFS file system 

15 minutes ago, adrianwi said:

When I went to school 12 x 4 was a little more than 32, but the 1/1 rule of thumb starts to blur beyond 16GB RAM from my experience.  That said, FreeNAS loves RAM and that motherboard should allow another 32GB so it shouldn't be too expensive to upgrade?

RAIDZ-2 so he should be somewhere aroudn 25-30Gb of usable storage. I always took the "rule of thumb" as total storage though since the duplication in RAIDZ-2 is still storage. Even if it's not "usable" the file system is still using it as storage.

Share this post


Link to post
Share on other sites
adrianwi

My understanding on the 'rule of thumb' was total storage, so as you've pointed out, 48TB with 32GB is stretching things without any services running.

I'm hardly one to talk though, as I've got 64TB with 64GB but am running several services which according to the dashboard are using 20GB!

preview

 

Share this post


Link to post
Share on other sites
SpaceCabbi
2 hours ago, adrianwi said:

I have that processor in my FreeNAS box and have no problems at all with emby playing 1080p content.  I never had any issues with an earlier E3-1231v3 and 32GB RAM but I had less storage.

When I went to school 12 x 4 was a little more than 32, but the 1/1 rule of thumb starts to blur beyond 16GB RAM from my experience.  That said, FreeNAS loves RAM and that motherboard should allow another 32GB so it shouldn't be too expensive to upgrade?

You would think. But no. at least 100 I don't have atm 😲

Ty for the feedback though, it confirms there is something else going on.  

2 hours ago, MRobi said:

You're definitely fine for running the filesystem. But what's left over for apps? Looks like as low as  1.84Gb free. And you've got how many jails running plus streaming video.
FreeNAS and ZFS is highly dependent on RAM. It'll take whatever you throw at it. I've personally got 96Gb of ram, 75 of which is being used by the ZFS file system 

RAIDZ-2 so he should be somewhere aroudn 25-30Gb of usable storage. I always took the "rule of thumb" as total storage though since the duplication in RAIDZ-2 is still storage. Even if it's not "usable" the file system is still using it as storage.

It runs 4 jails sonarr/radarr/nzbget and transmission/Emby. the 1.8 free was a exception normally there is plenty free I was updating to rc1 i suspect that was that. Normally it's around 12-16 atm even 22. free. But i get your point but its not the cause there is something odd going on i have yet to investigate due to lack of time.

And i might never will, look wat dropped yesterday:

https://github.com/truenas/truenas-installer/releases
Now if only they would bring it to Centos but debian wil have to do.

Edited by SpaceCabbi

Share this post


Link to post
Share on other sites
MRobi
1 hour ago, SpaceCabbi said:

Normally it's around 12-16 atm even 22. free. But i get your point but its not the cause there is something odd going on

If you've got 22Gb of ram free, that right there is something odd going on ;)

In all seriousness, that's likely after a reboot. It's the only times you'll ever see those numbers of free ram. ZFS by design will use almost every available mb of ram you give it. It runs on the principle of "free memory is wasted memory". And "inactive" memory is actually cached but could become free if needed.

You'll see my services sitting at idle are using 16Gb. @adrianwi is using 20Gb. Yours is likely somewhere in that range as well. Then factor in what you need for the file system. I know it sucks spending more money, but with the amount of storage you've got you'll really need to bump up that ram because it's going to (and maybe already is) causing a bottleneck. At least a couple sticks of ram are one of the cheapest upgrades you can do.

Capture.PNG

Share this post


Link to post
Share on other sites
Luke

Are you still having an issue with this?

Share this post


Link to post
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...