Jump to content

Emby + Ombi = massive slowndown


Recommended Posts

Posted

Hello

 

There's currently an issue with emby not playing nice with ombi.

 

Ombi devs are saying that there were some API changes and therefore ombi is not playing nice anymore.

 

The crux of the problem is that the moment it starts a sync job with emby, emby will slow to a crawl.

 

https://github.com/tidusjar/Ombi/issues/2230

 

I'm more than happy to spin up my ombi and provide logs if it'll help resolve this.

 

Thanks in advance!

 

 

Posted

Hi there, yes please attach an emby server log. Thanks.

Posted

Have PM'd you with the file

 

Thanks!

Posted

Morning Luke,

 

Any updates on this?

Posted

Hi Luke

 

Apologies for bothering you again, but were there any findings on this?

  • 2 months later...
Posted

@Luke made me aware of this yesterday, disabling my Ombi docker seems to have resolved the issue, wonder if the problem lies with Ombi or Emby?

 

Posted

It sends a large number of requests to your emby server over a short period of time. I would make sure it's not doing that during your primary usage hours.

Posted

 

On 6/25/2020 at 2:20 AM, Luke said:

It sends a large number of requests to your emby server over a short period of time. I would make sure it's not doing that during your primary usage hours.

Just to update, no slowdown at all since stopping my Ombi Docker, I re-enabled all plugins listed in my previous post yesterday.  I have messaged tidusjar on Discord a couple of days ago but no response yet.  I guess this slowdown does not affect everyone? maybe due to large libraries?

Posted

I think it depends on how large your library is. With smaller libraries it'll probably finish scanning quickly, therefore not impacting performance.

I tried reaching out to tidusjar but he's adamant the issue is on emby's side and their apis.

Posted

Sounds like this won't go anywhere for a while then 😞 thanks for responding

  • 4 months later...
Posted

Is this fixed now ? 

  • 2 weeks later...
ShadowKindjal
Posted

When are you guys experiencing this issue? I have an Emby library of about 100 TB but I'm not noticing any slowdowns with Ombi connected. 

  • 5 weeks later...
Posted

The second I start the Ombi docker, page loads in Emby slow down and video takes longer to load. Overall responsiveness takes a dive.

mastrmind11
Posted
4 hours ago, ceb0610 said:

The second I start the Ombi docker, page loads in Emby slow down and video takes longer to load. Overall responsiveness takes a dive.

so go find the ombi dev.  this has nothing to do with emby.

  • Like 1
Posted

The truth is that the answer is probably a little bit of both. For the amount of data that's being pulled, some collaboration is likely needed.

mastrmind11
Posted (edited)

hammering an API indiscriminately is not the API developers problem, it's the hammerers problem.  this is coming from an API developer.  i guess emby could rate limit API requests if you want to absorb some blame as well.

Edited by mastrmind11
Posted

I think the problem is that OMBI tries to be nice to Emby by querying data subsequently - only 200 items at a time, then processing the results, then querying the next 200 items .

Unfortunately, this has just the opposite effect, as Emby doesn't have an in-memory cache for the results from which it would just need to return another 200 items on each subsequent call. Instead, each call for 200 items causes Emby to run the data query again, which is surely less expensive than a single query for all items, but just not in total.

Example:  With 20,000 library items, OMBI will need to make 100 API calls to get all items. And those 100 API calls are by far more expensive than a single API call for all items or maybe 10 API calls for 2,000 items each.

My suggestion to the OMBI developer would be to use a significantly higher value like 5,000 or 10,000 items. This will improve things a lot. The described performance degradation will still happen, but unlike now, it won't last long anymore.

 

 

 

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