Plex is running so many processes?

Plex package allows users to manage and playback their media collections to local or remote desktop/mobile running Plex media client through Synology DiskStation
Forum rules
Please note the Disclaimer before modifying your Synology Product.

Plex is running so many processes?

Postby anschmid » Tue Sep 04, 2012 1:36 am

I just recently installed Plex but while everything seems to be working fine under the hood something seems very wrong.

My DS slowed down a bit and I checked the processes and found that Plex is running a lot of processes, see below.

I checked this on another Linux box I have and on that one it's only running one of these, not so many.

Anybody got any explanation for this?

Code: Select all
8191 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8196 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8197 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8198 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8279 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8286 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8287 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8288 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8289 plex     56664 S N  Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8824 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8825 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8826 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8827 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8828 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8829 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8830 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8831 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8832 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8838 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8839 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8846 plex     56664 S    Plex Plug-in [com.plexapp.system] /volume1/Plex/Library/Application Support/Plex Media Serve
 8848 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8849 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8850 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8851 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8852 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8853 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8860 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8861 plex     84284 S    /var/packages/Plex Media Server/target/Plex Media Server
 8869 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8870 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8872 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8873 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8874 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8875 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8877 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8878 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8879 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8880 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8881 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8882 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8883 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
 8893 plex     66940 S    /volume1/@appstore/Plex Media Server/Plex DLNA Server
anschmid
Novice
Novice
 
Posts: 41
Joined: Thu Jul 26, 2012 4:31 am
Location: Melbourne, Australia

Re: Plex is running so many processes?

Postby damonnk » Wed Sep 05, 2012 8:07 am

Plex starts multiple threads to do the works and the top provided with the synology shows them.

If you have plex installed on another linux system as well (like me) the default top normally doesn't show threads by default.
Start top and press shift + H.
That will toggle showing threads and will show many of them as well for plex.
[DS412+][DSM5][4x2T]
[DS213+][DSM5][2x1T]
[DS110j][DSM5][1x1T]
[Server][ESXi 5.5][Core i5/32G]
User avatar
damonnk
Sharp
Sharp
 
Posts: 158
Joined: Fri Aug 03, 2012 1:45 pm
Location: Amsterdam

Re: Plex is running so many processes?

Postby anschmid » Fri Sep 07, 2012 11:44 am

Ah, good point. It's sub threats from the main. Got it thanks for the explanation!
anschmid
Novice
Novice
 
Posts: 41
Joined: Thu Jul 26, 2012 4:31 am
Location: Melbourne, Australia

Re: Plex is running so many processes?

Postby relax_nl » Fri Sep 07, 2012 12:33 pm

Isn't there a command similar to pstree on the DS?
Image
DS1511+ (DSM OS 5.0) with Intel D525 Atom CPU (dual-core @ 1.8GHz), 3GB RAM ( 800MHz DDR2 ), RAID6 volume of 5x 1.82 TiB HDD (Seagate Barracuda Green ST2000DL003, 64MB DDR400 cache, 4x 500GB platter)
APC Back-UPS ES 700 (BE700G-GR)
User avatar
relax_nl
Apprentice
Apprentice
 
Posts: 97
Joined: Wed Jan 18, 2012 11:22 am
Location: The Hague, The Netherlands


Return to Plex

Who is online

Users browsing this forum: No registered users and 3 guests