Apple TV app causing high CPU load on server

For me, playing something isn’t what starts it. Merely opening the AppleTV Plex app and clicking around will do it. I can pin my CPU at 100% just opening the AppleTV Plex App.

Plex Server Version 1.25.2.5319
Windows 10
Core i7-6700k
Plex install is on a Raid 0 SSD

Plex AppleTV App Version 7.26
tvOS 15.1.1
latest model AppleTV 4K

I will upload logs in a bit. Got a couple non-appletv clients connected now and I am recording live tv. When it gets quiet I will log me opening AppleTV app and send.

When it does, show me the logs please

On the bottom of the AppleTV is the model number – or – the year please

I can’t reproduce this either, with an Apple TV HD or an Apple TV 4K (2017).

What Library types? Movies, TV? “Other” videos? Music? Photos? Does it make a difference?

How big’s your Library, and how big’s your database?

I cannot reproduce. 15.1.1 or 15.2 tvOS

I don’t think it makes a difference.

I also often get into a state where the Plex App on AppleTV says ‘No Content’ or some such. This seems to be a query time out and never seems to fix itself. Rebooting the AppleTV completely is the only sure what to get back in at that point.

DB Sizes:
com.plexapp.plugins.library.db - 1.4 GB
com.plexapp.plugins.library.blobs.db - 2.6 GB

THIS makes a difference.

There is a known issue with DB size.

The DB should be 200-500 MB for most users.

i can give you SQLITE3 query command to check your DB if you wish.

sure, send it over.

It’s odd that the DB size only effects the AppleTV client though. I presently have 4 clients streaming content. 2 direct play, 2 1080p->720p transcodes.

Plex for iOS — -----'s iPad
Plex for Android (TV) — AFTMM
Plex for Roku — Roku Device
Plex for Roku — Roku Ultra

My CPU is hovering around 20%. If I open the AppleTV client, its going to be armageddon for my CPU though.

You’re on a Synology,

which DSM version ? 6 or 7 ? PMS version?

(I need to adjust the DB path)

who are you replying to?

whomever wants the SQLITE3 query :slight_smile:

I am on windows 10. just send the SQL i will run it.

I don’t know the windows path

select count(metadata_item_id),metadata_item_id from metadata_relations group by metadata_item_id order by count(metadata_item_id) desc limit 20

normal sqlite3 , when plex is stopped , can do this.

See this video for an example.

As this was filmed there are 4 things being streamed. 2 direct play, 2 1080p->720p transcodes.

Plex for iOS — -----'s iPad
Plex for Android (TV) — AFTMM
Plex for Roku — Roku Device
Plex for Roku — Roku Ultra.

You can see the CPU hovering around 20%. All I do in this video is open the AppleTV Plex App and start browsing. The CPU goes to the roof. The laptop in this video is not my plex server. just a laptop that I put in front of the TV for this demo.

At the end of the video you can see the statistics panels actually go blank. This means game over. Plex is now dropping any connections and anyone not buffered (direct stream/play) just had their playback stopped.

Plex Server Version 1.25.2.5319
Windows 10
Core i7-6700k
Plex install is on a Raid 0 SSD

Plex AppleTV App Version 7.26
tvOS 15.1.1
latest model AppleTV 4K

Is that the AppleTV app causing that or the LiveTV ?

Not sure by that.

Run the DB query please

query.zip (258 Bytes)

You could have posted that normally.

it’s just a counter and an ID number from your DB totally anonymous.

Your counts are low.

how big is the DB? 1.4 GB ?

com.plexapp.plugins.library.db - 1.4 GB
com.plexapp.plugins.library.blobs.db - 2.6 GB

You use LiveTV / Plex streaming a lot ?

Not really. It records a bit. The news, football, sunday morning shows. I use it a lot when posting videos online about what’s in my Plex…