Jump to content

Emby server is disconnected


dionibako

Recommended Posts

dionibako

Hi, I have a problem,

I have a raspberry pi 3 B + in which I have an emby server.

In Android TV, LG TV and more devices it works perfectly, but in Chrome browser in my PC, when I play a movie, after 5 or 10 minutes, the movie is cut and I have to restart the raspberry, because I lose the connection with emby.

This happens with all the movies

 

 

 

 

00:36:23.975 frame=40245 fps= 68 q=-1.0 q=-1.0 size= 5180236kB time=00:54:10.16 bitrate=13056.7kbits/s throttle=off speed=5.48x
00:36:25.450 av_interleaved_write_frame(): No space left on device
00:36:25.647 00:36:25.648 [segment @ 0x1456db0] Failure occurred when ending segment '/var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5541.ts.tmp'
00:36:25.648 [segment @ 0x1456db0] Opening '/var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5.m3u8.tmp' for writing
00:36:25.651 SegmentComplete=video:0 Index=541 Start=3246.034000 End=3251.080000 Duration=5.046000 offset_pts=0 start_pts=0 Frames=-1048933296 filename=(null)
00:36:25.652 Error writing trailer of /var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5%d.ts: No space left on device
00:36:26.053 [segment @ 0x14a09a0] Opening '/var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5_s2.m3u8.tmp' for writing
00:36:26.056 SegmentComplete=video:1 Index=540 Start=3240.028458 End=3246.034458 Duration=6.006000 offset_pts=0 start_pts=0 Frames=-1054938838 filename=(null)
00:36:26.057 [segment @ 0x14a09a0] Opening '/var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5_s2541.vtt.tmp' for writing
00:36:26.063 [segment @ 0x14a09a0] Opening '/var/lib/emby/transcoding-temp/1a5968165c9e2cf50ade7a4b9a5e43d5_s2.m3u8.tmp' for writing
00:36:26.605 SegmentComplete=video:1 Index=541 Start=3246.034458 End=3251.039458 Duration=5.005000 offset_pts=0 start_pts=0 Frames=-1048932838 filename=(null)
00:36:26.610 frame=40268 fps= 68 q=-1.0 Lq=-1.0 size= 5183305kB time=00:54:11.22 bitrate=13060.2kbits/s throttle=off speed=5.46x
00:36:26.610 video:5143938kB audio:39367kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Last message repeated 1 times
00:36:26.627 EXIT
00:36:26.707 Conversion failed!
00:36:26.708 

 

 

But I have space!!

 

5e1a6032b056f_photo_20200112_005329.jpg

5e1a605c12915_photo_20200112_005323.jpg

 

Thanks!!

Edited by dionibako
Link to comment
Share on other sites

JaScoMa

I did have issues like this prior and running out of disk space; upgraded from 32GB to 128GB.  The transcoding buffer was filling up the drive prior to the end of a movie in which emby would crash and wouldn't start back up until I cleared the transcoding temp files.

This was especially true when the movie was a MKV file; 32GB movie with only a 32GB drive, it would die about 20-30 minutes in for me.  The logs do say no drive space left, so I believe that is what is happening.  Maybe the OS is keeping the 2GB free so normal operations will still work, and not allowing emby that space.
 

I think transcoding is required with the browser, thus the reason all others work properly until you play within the browser.

 

You can run this command while it's playing to see what's using up the most space of your drive.

 

du -a /var | sort -n -r | head -n 10

 

 

For example, I'm currently watching a MKV (24GB file size) and this is what the listing shows:
 
du -a /var | sort -n -r | head -n 10
22263724        /var
22258856        /var/lib
22156156        /var/lib/emby
21282732        /var/lib/emby/transcoding-temp
426772  /var/lib/emby/metadata
426760  /var/lib/emby/metadata/library
267536  /var/lib/emby/cache
170552  /var/lib/emby/cache/images
170548  /var/lib/emby/cache/images/resized-images
163768  /var/lib/emby/data
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...