I came home today and found plex unresponsive. My device is WD PR4100. Upon logging to administration, I saw extremely high memory usage
Load average: 0.09 0.13 0.17 2/318 18003
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
2288 1 root S 97231m2544.7 1 0.0 /mnt/HD/HD_a2/Nas_Prog/plexmediaserver/binaries/Plex Media Server
2328 2288 root S N 1822m 47.7 1 0.0 {Plex Script Hos} Plex Plug-in [com.plexapp.system] /mnt/HD/HD_a2/Nas_Prog/plexmediaserver/binaries/Resources/Plug-ins-40a
4354 1 root S 1186m 31.0 2 0.0 /usr/local/wdmcserver/bin/wdmcserver -x off
2586 1 root S 1042m 27.3 2 0.1 /opt/wd/bin/wdhws -config=/etc/wd/sprite-wdhw.xml
Then I went to check logs - first I saw was this - more than hunred lines
Jul 27, 2016 02:52:06 [0x7f33855e9700] ERROR - [FFMPEG] - decode error -4
At 2:55:19 replaced by this - literally hundreds of occurences up till now and still coming
Jul 27, 2016 05:31:20 [0x7f4265bff700] ERROR - Couldn't add a new thread to the pool of size 1: boost::thread_resource_error: Resource temporarily unavailable
I dug deeper to te logs and found out whee it probably started:
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [MI] Opening input file: /shares/Filmy/Velk.. ..estka (2014)/Velk.. ..estka (2014).mkv
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - Setting default whitelist 'file,crypto'
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - Format matroska,webm probed with size=2048 and score=100
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:0 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:1 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:2 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:3 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:4 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:5 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - st:6 removing common factor 1000000 from timebase
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - Before avformat_find_stream_info() pos: 6949 bytes read:32768 seeks:0
Jul 27, 2016 02:46:53 [0x7f425c735700] DEBUG - [FFMPEG] - user data:"x264 - core 142 r2431+42 c69a006 tMod [10-bit@all X86_64] - H.264/MPEG-4 AVC codec - Copyleft 2003-
Jul 27, 2016 02:46:53 [0x7f4264223700] ERROR - [FFMPEG] - decode error -4
Jul 27, 2016 02:46:53 [0x7f425cfff700] ERROR - [FFMPEG] - decode error -4
Jul 27, 2016 02:46:53 [0x7f425b911700] ERROR - [FFMPEG] - decode error -4
Jul 27, 2016 02:46:53 [0x7f4261b35700] ERROR - [FFMPEG] - decode error -4
I am grateful for any advice... I am starting to get fed up with plex on this device.