Plex is becoming extremely slow

Hi

Plex is becoming extremely slow. This is not to play video but just to navigate the menu system. I am constantly getting the spinner and then an unexpected error has occurred.

Even when I switch it on it takes a really long time to load up the dashboard. Then if I click on anything it hangs, if I click back and try again it seems to work but only on the second or third try.

I have tried scanning all library files, empty trash, clean bundles and then finally optimise DB, I have run this several times recently without it making any difference.

I have a Synology NAS DS415+ 4x8TB with an intel Atom C2538 CPU. When the video gets going it has not had any problems playing all of the video files that I have thrown at it. This is just slow on navigating the menu’s, yes it does buffer sometimes but I am guessing that would be because of what video encryption is used.

As a client I am using the Xbox one x and is all connected wired Ethernet with both the Xbox and the Synology NAS plugged straight into a Plusnet (BT homehub as they are the same)

I do have quite a large library with over 700+ TV shows and 1200+ Moves as well as lots of home videos and other stuff.

I really like Plex and have been a lifetime pass and have been using Plex since 2014 but at the moment seems I spend more time waiting for the spinner.

Any help would be much appreciated.

Thank you

1 Like

Try and look at your logs. They can provide a great deal of information.
You can also upload here and maybe the ninja’s can isolate your issue.
https://support.plex.tv/articles/200250417-plex-media-server-log-files/#toc-0

Another way to see why it’s slow is to recreate such an event:

  1. Verify DEBUG logging ON, VERBOSE logging OFF
  2. Start the playback which is slow.
  3. Let it play for 30 seconds after it starts.
  4. Stop playback
  5. Wait 30 seconds
  6. Settings - Server - Troubleshooting - Download Logs.
  7. Attach the ZIP it gives you here. Trumpy and/or I will be able to examine and diagnose better.

The OP has no issues with playing media, just browsing(navigating) plex libraries and library items, but nonetheless, the idea is the same, the OP can navigate for a minute or two. That should log any instances of why it might be slow.

You are right but in the event plex did log instances of database related issue we will at lease have a better understanding. I was also gonna ask(and suggest to separate) movies to sub-folders in hopes that could help the situation. I know from my own experience it was like night and day. Seriously, from like 10-20 seconds from movie to movie pre-play screen to 3 seconds.

that or alphabetized(#, a~z)

Thank you everyone for your replies, I ran the check for corruption and got quite a few errors so have run the repair utility with sqlLite3 and will see if that makes any improvements.

On tree page 394562 cell 3: 2nd reference to page 58455
On tree page 394562 cell 6: 2nd reference to page 58454
On tree page 394562 cell 5: 2nd reference to page 58453
On tree page 394562 cell 4: 2nd reference to page 58452
On tree page 394562 cell 3: 2nd reference to page 58451
On tree page 394562 cell 2: 2nd reference to page 58450
On tree page 394562 cell 1: 2nd reference to page 58449
On tree page 394562 cell 0: 2nd reference to page 58448
On tree page 394441 cell 5: 2nd reference to page 58339
On tree page 394441 cell 4: 2nd reference to page 58338
On tree page 394441 cell 3: 2nd reference to page 58337
On tree page 394441 cell 2: 2nd reference to page 58336
On tree page 394441 cell 1: 2nd reference to page 58335
On tree page 394441 cell 0: 2nd reference to page 58334
On tree page 394509 cell 3: invalid page number 394577
On tree page 394422 cell 3: invalid page number 394568
On tree page 394528 cell 3: 2nd reference to page 56901
On tree page 394528 cell 4: 2nd reference to page 56900
On tree page 394528 cell 3: 2nd reference to page 56899
On tree page 394528 cell 2: 2nd reference to page 56898
On tree page 394528 cell 1: invalid page number 394570
On tree page 394528 cell 0: 2nd reference to page 56897
On tree page 393598 cell 6: invalid page number 394590
On tree page 393598 cell 5: Child page depth differs
On tree page 394541 cell 4: 2nd reference to page 56695
On tree page 394541 cell 5: 2nd reference to page 56694
On tree page 394541 cell 4: 2nd reference to page 56693
On tree page 394541 cell 3: 2nd reference to page 56692
On tree page 394541 cell 2: 2nd reference to page 56691
On tree page 394541 cell 1: 2nd reference to page 56690
On tree page 394541 cell 0: 2nd reference to page 56689
On tree page 393765 cell 15: 2nd reference to page 63628
On tree page 393765 cell 12: 2nd reference to page 63627
On tree page 393765 cell 11: 2nd reference to page 63626
On tree page 393765 cell 10: 2nd reference to page 63625
On tree page 393765 cell 9: 2nd reference to page 63624
On tree page 393765 cell 8: 2nd reference to page 63623
On tree page 393765 cell 7: 2nd reference to page 63622
On tree page 393765 cell 6: 2nd reference to page 63621
On tree page 393765 cell 5: 2nd reference to page 63620
On tree page 393765 cell 4: 2nd reference to page 63619
On tree page 393765 cell 3: invalid page number 394588
On tree page 393765 cell 2: 2nd reference to page 63618
On tree page 393765 cell 1: 2nd reference to page 63617
On tree page 393765 cell 0: 2nd reference to page 63616
Page 56673 is never used
Page 56674 is never used
Page 56675 is never used
Page 56676 is never used
Page 56881 is never used
Page 56882 is never used
Page 56883 is never used
Page 56884 is never used
Page 58319 is never used
Page 58320 is never used
Page 58321 is never used
Page 58322 is never used
Page 58432 is never used
Page 58433 is never used
Page 58434 is never used
Page 58435 is never used
Page 63598 is never used
Page 63599 is never used
Page 63600 is never used
Page 63601 is never used
Page 63602 is never used
Page 63603 is never used
Page 63604 is never used
Page 63605 is never used
Page 63606 is never used
Page 63607 is never used
row 648 missing from index index_media_parts_on_hash
row 784 missing from index index_media_parts_on_hash
row 1514 missing from index index_media_parts_on_hash
row 1867 missing from index index_media_parts_on_hash
row 3357 missing from index index_media_parts_on_hash
row 3628 missing from index index_media_parts_on_hash
row 3645 missing from index index_media_parts_on_hash
row 3711 missing from index index_media_parts_on_hash
row 4180 missing from index index_media_parts_on_hash
row 4562 missing from index index_media_parts_on_hash
row 4724 missing from index index_media_parts_on_hash
row 5334 missing from index index_media_parts_on_hash
row 5671 missing from index index_media_parts_on_hash
row 5850 missing from index index_media_parts_on_hash
row 6321 missing from index index_media_parts_on_hash
row 6757 missing from index index_media_parts_on_hash
row 7452 missing from index index_media_parts_on_hash
row 7622 missing from index index_media_parts_on_hash
row 7725 missing from index index_media_parts_on_hash
row 8204 missing from index index_media_parts_on_hash
row 8218 missing from index index_media_parts_on_hash
row 9151 missing from index index_media_parts_on_hash
row 9209 missing from index index_media_parts_on_hash
row 10118 missing from index index_media_parts_on_hash
row 10703 missing from index index_media_parts_on_hash
row 10840 missing from index index_media_parts_on_hash
row 10849 missing from index index_media_parts_on_hash
row 11414 missing from index index_media_parts_on_hash
row 12300 missing from index index_media_parts_on_hash

Hi, things are still really slow and I keep getting errors, I will attach the logs. Things were really slow and I got errors at about 18:17 on August 15th if that helps.

Do any Devs even come to this forum anymore to check logs being posted by users?

Have any fresh logs?

As for the above-posted errors, there comes a point where it’s far easier to copy a backup into position and use it versus trying to fix a broken one.

If you have disabled the automatic database backup, starting over is the only safe option.

Hi

As this problem has been going on for a while now I think all the backups will be just as bad. I even ran the sqlite tool to repair the database. Its really strange as sometime I am navigating menus and it gets stuck on the spinner then I go back and try again and it works right away.

I thought it could be the network so I have plugged the Synology NAS server and the Xbox with the client with Ethernet cables straight into the router.

I have attached the logs this time as forgot last time. As said was experincing quite a few problems around 18:17 August 15th.Plex Media Server Logs_2019-08-15_18-31-05.zip (4.4 MB)

hi thanks for the reply, when you say rebuild DB does that mean losing all my viewed stuff and having to go through everything and mark as viewed?

Also I have some experience adding rules to the router but what setting do I need for plex? Any help would be appreciated.
Thank you

I have a very large library about 16Tb worth, OK looking like a rebuild it is. Read somewhere that if you use trakt, that will update you view history after rebuild and I been using that for a while now.

For the router, do you mean port forwarding? I have done that before and entered the port and then the device that it needs to go to with the MAC address and the ip address? Is this what you mean or have I got it wrong.

So to set up port forwarding for plex do I just use port 32400 and the Xbox IP and Mac?

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