Jump to content

emby service goes offline very often


Go to solution Solved by LongMan,

Recommended Posts

Happy2Play
Posted

Can you elaborate on what going offline means? 

What are we looking at in this minute and half log?

Posted

Just a spinning blue circle with the web page header. Cannot access any media
That's the last log available. If more details are required tell me and I will provide.

Posted

I have to restart the pc to be able to access media again

 

Happy2Play
Posted

With as many libraries as you have, I would suggest changing your database cache as default I would expect to be low.

PRAGMA cache_size=-98304

 

 

Posted

Ok. I will give that a try. Thanks for taking the time to help

Posted

Please try removing these plugins:

2024-02-23 12:28:16.620 Info App: Loading playback_reporting, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from C:\Users\Zotac User\AppData\Roaming\MediaBrowser-Server\plugins\playback_reporting.dll
2024-02-23 12:28:16.620 Info App: Loading SmartPlaylist, Version=2.4.0.3, Culture=neutral, PublicKeyToken=null from C:\Users\Zotac User\AppData\Roaming\MediaBrowser-Server\plugins\SmartPlaylist.dll

Then restart the server and see how things compare. Thanks.

Posted

Just coming back to report that Happy2Play's suggestion seems to have worked. It hasn't gone offline since I have increase the setting.
I will also remove those dlls. I understand SmartPlaylist but why Playback Reporting, I thought it was compatible.

Happy2Play
Posted

Sounds like db cache was just to small and potentially taking way longer than expecting to open.

But yes if you still have issues your best bet is plugins next.

Posted

What was the cache size option before?

Happy2Play
Posted
2 minutes ago, Luke said:

What was the cache size option before?

The default 96. 

PRAGMA cache_size=-98304

 

But with 12 libraries I would think that is low, but I guess the question really should be how large is the libary.db. @LongMan

  • Thanks 1
Posted

library.db is 452 MB. I don't remember the previous data cache size value but I changed it to 4000 MB. I only run emby on that computer and it has 16GB of RAM.
It is much snappier now and I like it. 😀

Thanks again

  • Thanks 1
  • 3 weeks later...
LongMan
Posted

I am getting the occasional 401 error. I googled it and it said Unauthorized. Why would the user authorization change?  After a while it works again, or if I restart the machine it works. Did something change with authorization between 4.7 and 4.8?

The problem seem to be on streaming access, admin still functions.

Posted
2 hours ago, LongMan said:

I am getting the occasional 401 error. I googled it and it said Unauthorized. Why would the user authorization change?  After a while it works again, or if I restart the machine it works. Did something change with authorization between 4.7 and 4.8?

The problem seem to be on streaming access, admin still functions.

Hi, let's look at a specific example:

And then we'll be able to answer that. Thanks.

LongMan
Posted

Thanks for responding. Since it is kind of random. I will post the log at the end of the day. Should provide more data.

Cheers,
LongMan

LongMan
Posted

Did the log offer any insights as to why emby is sometimes unavailable?

Cheers,
LongMan

Posted
On 3/17/2024 at 12:14 PM, LongMan said:

Did the log offer any insights as to why emby is sometimes unavailable?

Cheers,
LongMan

Hi, are you still having an issue with this?

LongMan
Posted

Yes I am. It is Intermittent. I have ruled out network because it is the same on the host machine.

 

justinrh
Posted

Have you checked resource utilization?  Is there anything else taxing your server?  Running 3rd-party AV software?

  • Disagree 1
LongMan
Posted

image.thumb.png.a947e2d86bc6f37acdc70b7a9b58c5a9.pngOnly Emby. Emby shows high usage of cpu

LongMan
Posted

No. No change. Since 4.8 I have been having these issues.  Increasing PRAGMA cache_size moved it from being unusable being available intermittently.

  • 3 weeks later...
Posted

OK we're looking into it. Thanks.

  • 2 months later...
LongMan
Posted

I was able to track down the source of my problem. I use a program ersatztv to generate tv channels from my library. It obtains metadata for movies and tv shows from Emby. Whenever it scans collections, it causes emby server to go offline form streaming, library access etc. However the Server Management Dashboard still works.

https://drive.google.com/file/d/1mtGOxAGoSYC87bCSzuMz46KDvG1cT9nV/view?usp=sharing

  • Thanks 1

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