Jump to content

Mobile page crashes/hangs when viewing pictures & high cpu usage


Recommended Posts

Posted (edited)

Hi,

 

I just noticed that on my phone (Android 8) the mobile friendly page crashes/hangs when opening a picture library. I'm using the latest mobile versions of Chrome and Firefox.

 

With Chrome you can see the first picture load and then the page crashes and shows an "oww snap, something went wrong" message. On Firefox the page simply hangs and you can't scroll down. Requesting the desktop site works well on both browsers.

 

Another thing I noticed that when viewing pictures through a browser (both a phone and pc), CPU usage on the server will spike to 100% until the webpage is done loading a thumb for every picture. Using the Android app this doesn't happen, CPU usage spikes to 30% for a bit and then goes back to normal. I did clear the application cache to make sure the thumbs had to be downloaded again. Is Emby generating thumbs on the fly? And if so, is there anyway to generate them before hand?

 

On the Android app CPU usage does spike to 100% on the server when opening a picture.

 

I'll check with an iPhone later tonight (browser only).

 

The folders I'm viewing have 1000~2000 pictures each.

 

1) Mobile friendly page hangs/crashes on Android Chrome and Firefox

2) Opening picture full size doesn't work on Android Chrome and Firefox when requesting desktop site

3) 100% CPU on server until all thumbs have loaded on ANY browser, Android and PC. Android app doesn't do this

 

edit: Request desktop site on Android Chrome can still make the page crash. Firefox appears to be OK.

edit2: For what its worth, I tested outside my home network. Emby is behind a proxy. Though Everything else is working fine so I don't expect this to be the problem.

Edited by Ponyo
Posted

Hi, what version of Emby Server?

Posted

4.3.1.0.

 

I asked somebody with an iOS device to check and that all worked well from the browser.

Posted (edited)

I've never really used the photo library before so I can't say if it was better in previous versions but it is a consistent issue on my phone. It basically happens every time I try to open a photo folder.

Edited by Ponyo
Posted

Are you using your local web app, or the online web app at http://app.emby.media ?

 

Whichever one you are using, can you try the opposite and see how that compares? Thanks.

Posted

Hi Luke,

 

Do you mean if I'm using Emby connect? No, I have Emby running on a local server with nginx in front where I'm connecting to through a dddns service. For lan access I have a DNS forward configured so I can access the server from the usual .com domain as well.

 

I had some more users test and none of them reported problems. This includes some old devices such as a galaxy S5.

 

However and older iPad mini I have has the same problem as my phone (oneplus3). The page opens but then the whole browser hangs.

 

Weirdly I just tested accessing the server from my phone though the lan ip on the http port and while it isn't exactly smooth, it did work and the browser didn't crash and I could view all photos in Mobile friendly mode.

 

I also tested with to libraries with fewer pictures. One with a couple hundred and one with around a thousand. Both work fine when accessed through my domain. Though the one with a 1000 pictures is definitely less smooth.

Posted

Can you try the online web app then? Thanks.

Posted

Same problem using app.emby.media.

pir8radio
Posted (edited)

I had these same issues for a long time...   The latest beta seems to have cleared them up..     The apps would freeze as you tried to scroll, it would freeze the server to the point of crashing...    Its pretty good now after the beta upgrade and the first surfing of your picture library.  My folders also had 1k or more pictures, almost all iphone pictures,

Edited by pir8radio

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