High network traffic during "Library scan complete: Extra information may still be downloading from the Internet"

Hi, I have a problem with high network traffic during the library scan of Plex.

Plex is running in a Ubuntu container on Proxmox, with the following hardware config.

  • 3.Cores of a Ryzen 2700
  • patched Nvidia GTX960
  • 8GB DDR4 RAM
  • 20TB HDD + 30TB GSuite space

The media library consists of files below.

  • Movies: 2,000 (4K, FullHD, HD, SD) - most on the GSuite
  • Series: 300 - 18,000 episodes (80% HD, 20% SD) - most on the GSuite
  • Music: 300,000 tracks (90% FLAC, 10% MP3) - all on the GSuite

The scheduled tasks are set to start running from 3am to 8am with all the options ticked.
After 8am it mentions “Library scan complete: Extra information may still be downloading from the Internet”, which is okay for me. But the network traffic is always at the maximum, which leads the whole connection of the house to the internet to slow down.

For illustration here is a procedure as it is.

  • [2 AM] Plex is not used | 0Mbit/s Download | 20ms ping
  • [3 AM] Plex start scanning the library | 100Mbit/s Download | 300ms ping
  • [8 AM] Plex stop scanning the library | 100Mbit/s Download | 300ms ping
  • [9 AM] Plex downloading the extra information | 100Mbit/s Download | 300ms ping
  • [9 PM] Plex downloading the extra information | 100Mbit/s Download | 300ms ping
  • [2 AM] Plex downloading the extra information | 100Mbit/s Download | 300ms ping

This goes on and on until I restart the container.
Probably that is because there are so many files in the music and series folders. I could remove the music folder from Plex, but it would more helpful if the network utilization for updating the library could be limited at all (without limiting the whole container).

Or is there a better solution to solve the problem?

Thanks :slight_smile:

Good question. I’m gonna think about that after my eyes stop watering
from the 300k Flac files :slight_smile:

Is this one of those inode issues?

no that’s weird your symptoms are network. So I’d say off the top of my head, all the details you can provide us about your network config and hardware will be important. Also when did this start?

What sort of optional things do you have enabled on the PMS beyond a default install, remote access, live tv, dvr, DLNA, etc?

1 Like

I switched from older to newer hardware a few weeks ago and fresh installed the whole stuff (Proxmox - Plex on a Ubuntu container - different virtual machines) on it.

For the network connection I use a AVM router with 100Mbit/s Download and 50Mbit/s Upload. It is connected over Cat6(a) LAN. On the host die Plex-container it is directly bridged to the network-card.

Here you can see all my ‘Plex-server’ settings:

I can see a few items to consider:

Although I don’t know what is slow, the option that scans your music for lyrics and tour dates stands out considering your tremendous catalog.

The website article on Scheduled Tasks explains this in detail.

If you are fond of the terminal and Unix shell, we could ps -ef or ntop or netstat this I suppose. Let us know if that’s interesting because large libraries are always one of the things to be tested against but are hard to simulate.

For example, is your music library 24/192 compressed to Flac 8?
The characterstics plus the number of files could both matter.

Workarounds:

  • Instead of starting with 300k tracks, start with 50k at a time.
  • Or disable the lyric finding task.
  • Or disable deep analysis. I don’t bother with it, but I do manually analyze films.
  • Or consider if you have a lot of photos. You didn’t mention any, but you’re tagging them.

Very interesting.

1 Like

I have set the scheduled tasks as you mentioned, makes more sense.
For the music files, the most are 16/44-CD quality.

With the music it is more or less till I find a better “Spotify-Like” player I can install on the PC.
Until this I thought Plex could be a ‘good’ choice :slight_smile:


After Plex executed the scheduled tasks over the night again, everything seems to be fine again.
I will observe this for the next days, but apparently it was really due to the size of the collection, which has a problem with the updating of the metadata.

Thanks so far @nibbles :slight_smile:

1 Like

Try plexamp.com

As with all remotely connected media storage, disable
Settings - Server - Library - ‘Empty trash automatically after every scan’
otherwise this will happen again and again

1 Like

After all this days with the settings set like you guys told me, it was going to be better but is still sometimes annoying. I noticed that the scan (Music, TV, Movies …) is starting outside the set time, which leads the whole network to be 100% loaded while I need to use it.

Before I just remove the music from Plex, is there a way to set the download speed of the media search?

Or how can I set up Plex that it would not update the music library automatically, just after my manual input?

Disable the automatic and the periodic scans and only update your libraries by hand. And only individually, not all libraries at once.

If you haven’t already, disable in the Scheduled Tasks

  • Update all libraries during maintenance
  • Refresh metadata periodically

Then monitor the behaviour further.

1 Like

Just want to let you know after about 1 1/2 months there are no more issues.
The following settings for the server are set.

Settings > Library:

  • Empty trash automatically after every scan
  • Include season premieres in On Deck
  • Run scanner tasks at a lower priority
  • Generate video preview thumbnails: Never
  • Generate chapter thumbnails: As a scheduled task
  • Analyze audio tracks for loudness: Never

Settings > Scheduled Task

  • Time at which tasks start to run: 3 am
  • Time at which tasks stop running: 8 am
  • Backup database every three days
  • Optimize database every week
  • Remove old bundles every week
  • Remove old cache files every week
  • Refresh local metadata every three days

All other settings should not affect the problem.
It may also be that you can activate more settings,
but this is how it works best for me so far.

It may take some minutes for a manual scan of the libraries,
but this is way better than having internet issues over the whole day.

Hope that help users with the same problem :slight_smile:.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.