Quantcast
Channel: Linux — Plex Forums
Viewing all articles
Browse latest Browse all 7311

SLOW QUERY Troubleshooting

$
0
0

SLOW QUERY is reported regardless of server usage/load.  SLOW QUERY is only reported when browsing Movies.

Library is as follows:

6.5T    /Plex/Movies
5.6T    /Plex/TV Shows
 
 

 

System Specs:

Hardware:

Intel i7 930 @ stock speeds

6GB of RAM

Plex/OS Drive on 64GB SSD / Onboard

6x 3TB 7200rpm drives in RAID5 ~14TB / Adaptec 5805Z RAID Controller

Software:
CentOS Linux release 7.0.1406 (Core) / 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Plex Media Server Version 0.9.11.7
 
 

Log:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/Plex\ Media\ Server.log

 

Entry Example:

Jan 12, 2015 15:10:38 [0x7f21717fe700] WARN - SLOW QUERY: It took 2260.000000 ms to retrieve 50 items.
Jan 12, 2015 15:10:45 [0x7f2149fef700] WARN - SLOW QUERY: It took 1230.000000 ms to retrieve 24 items.
Jan 12, 2015 15:10:46 [0x7f2149fef700] WARN - SLOW QUERY: It took 1290.000000 ms to retrieve 24 items.
Jan 12, 2015 15:10:48 [0x7f2149fef700] WARN - SLOW QUERY: It took 2030.000000 ms to retrieve 50 items.
Jan 12, 2015 15:11:02 [0x7f216afff700] WARN - SLOW QUERY: It took 1120.000000 ms to retrieve 29 items.
 

Reproduce Issue:

  1. tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log
  2. Click into a random movie description.  What's odd is there are 2-3 entries each time I click into a movie description

Log will report:

Jan 12, 2015 15:20:34 [0x7f21717fe700] WARN - SLOW QUERY: It took 2140.000000 ms to retrieve 44 items.
Jan 12, 2015 15:20:36 [0x7f21717fe700] WARN - SLOW QUERY: It took 1990.000000 ms to retrieve 44 items.
 
Size of .MKV not a factor:
4.6GB file reports:
Jan 12, 2015 15:44:13 [0x7f2141fdf700] WARN - SLOW QUERY: It took 1370.000000 ms to retrieve 35 items.
Jan 12, 2015 15:44:14 [0x7f2141fdf700] WARN - SLOW QUERY: It took 1230.000000 ms to retrieve 35 items.
Jan 12, 2015 15:44:16 [0x7f2141fdf700] WARN - SLOW QUERY: It took 2180.000000 ms to retrieve 44 items.
21.7GB file reports:
Jan 12, 2015 15:44:54 [0x7f21697fe700] WARN - SLOW QUERY: It took 1730.000000 ms to retrieve 62 items.
Jan 12, 2015 15:44:56 [0x7f21697fe700] WARN - SLOW QUERY: It took 1750.000000 ms to retrieve 62 items.
 
 
Troubleshooting Performed:
Disabled Extras (Trailers, Additional Content):
Server >> Extras >> Unchecked All Items
Server >> Agents >> Movies >> Freebase >> Freebase Settings >> Unchecked All Items
Analyze Library:
Movies >> Settings >> Analyze Library
Force Refresh:
Movies >> Settings >> Force Refresh
Optimized DB:
Home >> Settings >> Optimize or curl -X PUT http://localhost:32400/library/optimize
 

Any assistance would be greatly appreciated.  I've searched and from what I've found there hasn't been a solution.  I feel like I didn't have this issue until sometime in the past few months..


Viewing all articles
Browse latest Browse all 7311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>