Jump to content


Photo

Slow scan for tv shows


  • Please log in to reply
33 replies to this topic

#1 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 07 February 2020 - 04:04 PM

Good morning. Strangely, Emby is taking too long to load the web interface. It is installed on an ASustor AS1002T NAS. It is also taking too long to restart, to enter the options, practically no task is being accessed quickly, even by the internal network. Sometimes it works well, at other times the problem described. I configured the server to run the scheduled tasks during the night, just like the NAS. And the NAS has the same apps installed since I purchased it: Sonarr, Radarr, Deluge, Emby. How to solve?

 

ps: the speed of my internal network is approximately 70 MBps. The NAS is Gigabit, the computer too, but I'm using a cable that doesn't reach the maximum connection speed.

 

Server version: 4.3.1.0

 

 

Attached Files


Edited by sandro_rocha_1982, 07 February 2020 - 08:55 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 07 February 2020 - 04:07 PM

Hi there, let's look at an example. Please attach the information requested in how to report a problem. Thanks !



#3 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 17674 posts
  • Local time: 11:01 PM
  • LocationWashington State

Posted 07 February 2020 - 04:35 PM

How long is too long?



#4 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 07 February 2020 - 08:46 PM

How long is too long?

Several minutes, when the interface loads something. Sometimes it only loads the "Movies", "TV Shows" and "Collections" sections, not loading the latest episodes or movies from the library, nor the next episodes. And it is slow to enter Settings or any other section in the management part of the server, when it enters the option. Often it is just loading and nothing happens.



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 07 February 2020 - 09:02 PM

What kind of router do you have?

#6 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 07 February 2020 - 09:20 PM

What kind of router do you have?

TP-Link Archer C2.



#7 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 13 February 2020 - 04:08 PM

Good Morning. I'm having trouble scanning my libraries, it's taking forever to do the whole process. Emby is installed on a NAS Asustor AS1002T, I have a library of Movies and another one for TV Shows. The movie library has almost 1300 files, each separated in a different folder (/Movies/movie_title (year)/movie_title (year).ext). The library of tv shows has about 20 thousand files, separated by series and seasons (/TV/tv_serie (year)/season_xx/tv_serie_sxxexx_episode_name.ext/), totaling 393 series. For the movies, I configured the scan to use TMDB and FanArt and disabled subtitles search (I download subtitles manually for the movies). For the TV series I configured the scan to use TMDB, TVDB, FanArt and ScreenGrabber and I also disabled subtitles search (I intend to enable it for new content). I disabled the generation of nfo files and also uninstalled all plugins that did not interest me. The scanning of the films was even fast, it took about 1 hour, although I did not find the metadata for everything (my mistake, some files have a localized name). The series library advanced rapidly to 86.4% and then slowly, during the night, to 90.3% and stopped there. It's been a few hours. What is the problem and what can I do to speed up the process? Would Emby support local information? I was thinking about doing the previous scans using Media Elch or Tinny Media Manager and, somehow, importing into Emby. It's possible?

 

Server version: 4.4.0.13


Edited by sandro_rocha_1982, 13 February 2020 - 04:10 PM.


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 13 February 2020 - 04:09 PM

Hi there, can you please attach the emby server log? We can provide some advice on what features to disable for faster scans.

 

 

 

Would Emby support local information?

We already do support local nfo files and images, but we will still try to supplement with internet metadata unless you turn it off.



#9 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 13 February 2020 - 04:13 PM

The logs:

Attached Files



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 13 February 2020 - 04:26 PM

OK a few things i would suggest:

  • If you've configured the email plugin to send emails, try uninstalling that plugin and restarting the server. This will be trying to send out emails as new items are discovered during the scan and will result in longer scans.
  • Try turning off subtitle downloading just to speed up the initial scan of importing the content into your library. Then you can always turn it back on later and the subtitle scheduled task will search for subtitles on existing content already imported.
  • You enabled MovieDb for episodes, this is considerably slower than Tvdb because with MovieDb we have to send individual http requests to MovieDb for each episode. With Tvdb we get metadata for the entire series all at once and as a result it is considerably faster. That's why MovieDb is off by default for episodes.


#11 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 13 February 2020 - 04:52 PM

I uninstalled the notification plugin, disabled TMDB for the series and disabled subtitles. I restarted the scan. Post the result later.

ps: is there any way to optimize ffprobe? It seems to me that the collection of information about the archives is not very efficient.



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 13 February 2020 - 05:00 PM

We're always looking at that but i'm not sure there's really a way to optimize it other than potentially just not doing it.



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 13 February 2020 - 05:00 PM

 

 

, disabled TMDB for the series 

make sure it's disabled for episodes as well. In fact, keeping it enabled for series is probably fine because obviously there's far fewer series in your library than episodes.



#14 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 13 February 2020 - 05:10 PM

It's still slow. Running 0.1% every hour. Horrible! Wouldn't stopping the scan and manually update each series more efficient?


Edited by sandro_rocha_1982, 13 February 2020 - 05:12 PM.


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 13 February 2020 - 05:22 PM

No, I would just give it time and allow it to finish. If you can provide a new server log i can provide more advice. Thanks.



#16 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 13 February 2020 - 05:28 PM

I disabled all possible applications on the NAS (Plex, Sonarr, Bazarr) to see if that helps Emby. What leaves me intrigued is that the consumption of NAS resources is not large, about 17% cpu only. I think ffmpeg and ffprobe could be more efficient, use more resources when they exist.

Attached Files


Edited by sandro_rocha_1982, 13 February 2020 - 05:38 PM.


#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 17 February 2020 - 06:01 PM

Hi there, are you still running into this?



#18 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 17 February 2020 - 06:06 PM

It took 24 hours to finish. Disabling notifications and changing the metadata browser helped. However, I don't know if the time spent was normal or I am having a problem with the NAS.

#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149391 posts
  • Local time: 02:01 AM

Posted 18 February 2020 - 11:43 AM

What notifications did you disable?

#20 sandro_rocha_1982 OFFLINE  

sandro_rocha_1982

    Member

  • Members
  • 25 posts
  • Local time: 05:01 AM

Posted 18 February 2020 - 11:49 AM

E-mail plugin notification.

Edited by sandro_rocha_1982, 18 February 2020 - 11:56 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users