June 26, 20197 yr I can't seem to figure out why the PMS docker is crashing my server when it runs the maintenance task each night. All of my drives are in good condition, swapped out all the bad ones with SMART error. Hoping that would fix the problem, but it continues. I have 4 other docker images running and 2 VM's running on the server. It's only when the "Scheduled Tasks" starts for PMS then the server freeze altogether. PMS stream media without any issue or crashing. Any idea where I should be looking at? Top before the server crashed Quote top - 10:16:54 up 7:24, 1 user, load average: 9.87, 8.22, 5.90 Tasks: 379 total, 1 running, 378 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.3 us, 9.0 sy, 77.8 ni, 9.7 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st MiB Mem : 16019.1 total, 237.4 free, 4197.1 used, 11584.6 buff/cache MiB Swap: 0.0 total, 0.0 free, 0.0 used. 10725.2 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16718 nobody 35 15 1365508 129308 13196 S 634.7 0.8 41:21.15 Plex Transcoder 12719 root 20 0 4670916 1.2g 21820 S 46.9 8.0 7:01.88 qemu-system-x86 12583 root 20 0 5211772 1.6g 21912 S 13.5 10.3 7:07.51 qemu-system-x86 4294 root 20 0 416044 5788 1036 S 7.3 0.0 7:36.13 shfs 3888 root 20 0 0 0 0 S 4.6 0.0 258:35.21 unraidd 10691 nobody 20 0 1358968 128332 14444 S 3.0 0.8 0:14.51 mono 11072 nobody 20 0 2504584 54084 2160 S 2.0 0.3 0:04.46 sabnzbdplus 11346 nobody 20 0 298264 30088 5180 S 1.0 0.2 0:07.73 deluged 3507 root 20 0 216016 3640 2924 S 0.7 0.0 3:39.89 emhttpd 3534 root 20 0 13272 4412 3364 S 0.7 0.0 1:28.41 ttyd 4410 root 20 0 782616 66660 35292 S 0.7 0.4 1:24.62 dockerd 5664 root 20 0 9224 5864 5220 S 0.7 0.0 0:00.37 sshd 5725 root 20 0 8868 3356 2464 R 0.7 0.0 0:06.08 top 30916 nobody 20 0 3093584 198216 36884 S 0.7 1.2 0:25.20 Plex Media Serv 21 root 20 0 0 0 0 S 0.3 0.0 0:25.00 ksoftirqd/2 648 root 20 0 0 0 0 S 0.3 0.0 0:44.76 kswapd0 1526 root 20 0 8212 4504 1376 S 0.3 0.0 3:06.75 haveged 4428 root 20 0 954272 32180 21056 S 0.3 0.2 1:22.03 containerd 11273 root 20 0 9328 4580 3864 S 0.3 0.0 0:00.06 containerd-shim 30933 nobody 35 15 1706472 55904 10228 S 0.3 0.3 0:15.38 Plex Script Hos 1 root 20 0 2460 1844 1744 S 0.0 0.0 0:18.52 init syslog.txt Edited June 26, 20197 yr by sexyj
June 26, 20197 yr Author Tried troubleshooting the issue by turning all other dockers and VM off and only PMS on. Seems like the media scanning for plex is killing the server. This is the top at the time of crash. Quote top - 11:18:54 up 39 min, 1 user, load average: 9.12, 6.87, 3.80 Tasks: 313 total, 2 running, 311 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.2 us, 3.5 sy, 91.5 ni, 3.5 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st MiB Mem : 16019.1 total, 299.8 free, 620.5 used, 15098.8 buff/cache MiB Swap: 0.0 total, 0.0 free, 0.0 used. 14275.0 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 25703 nobody 35 15 1365544 133392 13308 S 740.1 0.8 45:42.81 /usr/lib/plexmediaserver/Plex Transcoder -codec:v h264 -i /Media/TV/Chernobyl/Season 1/Chernobyl-S01E04-The Happiness of All Mankind.mkv -threads 0 -nostats -q+ 4340 root 20 0 416084 5120 820 S 7.9 0.0 4:45.10 /usr/local/sbin/shfs /mnt/user -disks 4095 2048000000 -o noatime,big_writes,allow_other -o remember=0 4021 root 20 0 0 0 0 S 5.6 0.0 3:46.68 [unraidd] 5643 root 20 0 11792 6980 4312 S 1.7 0.0 0:14.84 containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/9c36abf17d65079d59da54c6d89e36109f48739c618d1282+ 3512 root 20 0 216016 3516 2796 S 1.0 0.0 0:17.39 /usr/local/sbin/emhttpd 646 root 20 0 0 0 0 S 0.7 0.0 0:22.78 [kswapd0] 3539 root 20 0 13272 4364 3308 S 0.7 0.0 0:05.14 ttyd -d 0 -i /var/run/ttyd.sock login -f root 4455 root 20 0 842992 65688 35076 S 0.7 0.4 0:11.12 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --storage-driver=btrfs 4473 root 20 0 811884 27940 18648 S 0.7 0.2 0:09.52 containerd --config /var/run/docker/containerd/containerd.toml --log-level info 5867 nobody 20 0 3087432 77044 36860 S 0.7 0.5 0:16.49 /usr/lib/plexmediaserver/Plex Media Server 5900 nobody 35 15 1706448 51308 10212 S 0.7 0.3 0:11.78 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-eadbcbb45/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --se+ 24011 root 20 0 8748 3236 2408 R 0.7 0.0 0:03.34 top 10 root 20 0 0 0 0 R 0.3 0.0 0:03.48 [rcu_sched] 1258 root 0 -20 0 0 0 I 0.3 0.0 0:00.03 [kworker/1:1H-kblockd] 4054 root 20 0 3784 2980 2716 S 0.3 0.0 0:01.12 /bin/bash /usr/local/emhttp/webGui/scripts/diskload 4418 root 0 -20 0 0 0 S 0.3 0.0 0:01.17 [loop2] 6028 nobody 20 0 889488 47508 9484 S 0.3 0.3 0:07.22 Plex Plug-in [com.plexapp.plugins.WebTools] /usr/lib/plexmediaserver/Resources/Plug-ins-eadbcbb45/Framework.bundle/Contents/Resources/Versions/2/Python/bootstr+ 19499 root 20 0 0 0 0 I 0.3 0.0 0:00.22 [kworker/u16:1-events_power_efficient] Edited June 26, 20197 yr by sexyj
March 19, 20206 yr Did you ever find a solution for this? My binhex/plex is crashing server each night.
March 30, 20233 yr I am looking for a solution myself. Linucserver.io Plex docker is crashing my server during maintanence
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.