Weird statistics while using plex in a jail

Status
Not open for further replies.

Huib

Explorer
Joined
Oct 11, 2016
Messages
96
Hi Guys,

I installed plex in a jail using the command line (pgk) and it works fine.
However I am seeing something weird in reporting > disks when I'm streaming.

My drives are reporting they are WRITING tons of data and are reading NOTHING.
Cpu is idle since there is no need for transcoding for the client in question.
I can imagine the data would be in arc so no read opperations would be required.. But why would it report writes?

Is this a bug or is there some explination why it would report reads as writes?

the data is on a seperate dataset as the jail but in the same zpool.

I'm asking this as a sanity check in order to avoid wasting developer time with stupid bug reports...

Thanks!

cpu while streaming.PNG


disks while streaming.PNG
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I dont use plex, but maybe it could be plex us transcoding a version of the video file on disk?
 

Huib

Explorer
Joined
Oct 11, 2016
Messages
96
Nope that's not it....
If plex is transcoding you see spikes of CPU usage. There are none.

also the client says it's direct streaming (= no transcoding)

even if it was transcoding, why would it write it to disk instead of "writing" it to the nic?

Thanks for the reply though :)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Nope that's not it....
If plex is transcoding you see spikes of CPU usage. There are none.

also the client says it's direct streaming (= no transcoding)

even if it was transcoding, why would it write it to disk instead of "writing" it to the nic?

Thanks for the reply though :)
no prob, I wonder if iotop or something similar would help.
 

Huib

Explorer
Joined
Oct 11, 2016
Messages
96
iotop?
that doesn't seem to be a shell command.
can you eleborate? It could be usefull to check the stats in the shell to diferentiate between a gui or middleware bug...
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I honestly don't know, I think it's a Linux utility, but you should be able to find something for freebsd that does the stuff you need
 

Huib

Explorer
Joined
Oct 11, 2016
Messages
96
Yhea. I was searching just now. iotop can't be intalled in the host without making the host filesystem rw.
I understand that that is kind of a no no... since it can produce weird errors that nobody can explain....

I do appreciate the suggestion though :)
 
Status
Not open for further replies.
Top