Plex Server Crashing at Random Times

Server Version#:1.32.7.7621-871adbd44
Player Version#:web

edit: logs removed, will post again once the issue occurs.

I recently migrated my server from windows to linux (Ubuntu 22.04) due to crashing and old server. Unfortunately the new server is also randomly crashing every day or so and I cannot determine why. Would anyone be able to see the logs attached and know what is going on? The local web interface 10.0.0.2:32400 works but shows no content. When I ssh in to the server the logs below show it is working. Tautulli is setup to email when plex goes offline and it does not during this event as it thinks everything is fine. Also I should mention that I just added Overseerr to the same server. What is going on?

brailyn@duplex:~$ sudo systemctl status plexmediaserver.service
plexmediaserver.service - Plex Media Server
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-11-24 18:15:01 UTC; 1 day 10h ago
Process: 18668 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 18670 (Plex Media Serv)
Tasks: 74 (limit: 4558)
Memory: 2.8G
CPU: 6h 14min 54.169s
CGroup: /system.slice/plexmediaserver.service
├─18670 “/usr/lib/plexmediaserver/Plex Media Server”
├─18711 “Plex Plug-in [com.plexapp.system]” /usr/lib/plexmediaserver/Resources/Plug-ins-871adbd44/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.32.7.7621-8>
├─18755 “/usr/lib/plexmediaserver/Plex Tuner Service” /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.32.7.7621-871adbd44 32600
├─18779 “Plex Plug-in [com.plexapp.plugins.trakttv]” /usr/lib/plexmediaserver/Resources/Plug-ins-871adbd44/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.32>
├─20001 “Plex EAE Service”
└─37288 “/usr/lib/plexmediaserver/Plex Media Scanner” --analyze-deeply --item 104613 --log-file-suffix " Deep Analysis"
Nov 26 02:23:44 duplex Plex Media Server[36086]: Generated new chapter thumbnails for The Beach.
Nov 26 02:23:44 duplex Plex Media Server[36089]: Generated new chapter thumbnails for Sokka’s Master.
Nov 26 02:23:44 duplex Plex Media Server[36092]: Generated new chapter thumbnails for The Painted Lady.
Nov 26 02:23:44 duplex Plex Media Server[36095]: Generated new chapter thumbnails for The Headband.
Nov 26 02:23:44 duplex Plex Media Server[36098]: Generated new chapter thumbnails for The Awakening.
Nov 26 02:23:45 duplex Plex Media Server[36101]: Generated new chapter thumbnails for Split.
Nov 26 02:23:45 duplex Plex Media Server[36104]: Generated new chapter thumbnails for '71.
Nov 26 02:23:45 duplex Plex Media Server[36107]: Generated new chapter thumbnails for '71.
Nov 26 03:15:59 duplex Plex Media Server[18670]: connect: Operation timed out
Nov 26 04:15:58 duplex Plex Media Server[18670]: connect: Operation timed out
…skipping…

brailyn@duplex:~$ top
top - 04:34:19 up 2 days, 17:29, 1 user, load average: 1.47, 1.33, 1.24
Tasks: 132 total, 1 running, 131 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2.5 us, 8.2 sy, 0.0 ni, 69.2 id, 17.2 wa, 0.0 hi, 2.9 si, 0.0 st
MiB Mem : 3911.5 total, 181.8 free, 847.4 used, 2882.2 buff/cache
MiB Swap: 3923.0 total, 3617.5 free, 305.5 used. 2773.0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 37277 plex 20 0 105608 49284 27344 D 28.3 1.2 0:18.88 Plex Media Scan
36689 root 0 -20 0 0 0 I 9.0 0.0 2:29.79 kworker/u9:0-xprtiod
36996 root 20 0 0 0 0 I 3.0 0.0 0:19.45 kworker/u8:3-nfsiod
37173 root 20 0 0 0 0 I 3.0 0.0 0:04.73 kworker/u8:0-nfsiod
103 root 20 0 0 0 0 S 2.0 0.0 5:06.66 kswapd0
18670 plex 20 0 469408 190676 14740 S 1.7 4.8 47:09.78 Plex Media Serv
643 tautulli 20 0 2388756 115712 6200 S 0.7 2.9 17:39.54 python3
18779 plex 20 0 93884 45968 1572 S 0.7 1.1 5:27.51 Plex Script Hos
14 root 20 0 0 0 0 I 0.3 0.0 0:53.31 rcu_sched
613 systemd+ 20 0 25664 7532 4172 S 0.3 0.2 0:23.41 systemd-resolve
37227 brailyn 20 0 7992 3556 2976 R 0.3 0.1 0:00.35 top
1 root 20 0 166180 8756 5556 S 0.0 0.2 0:03.61 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.34 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
5 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 slub_flushwq
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-events_highpri
10 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_rude_
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_trace
13 root 20 0 0 0 0 S 0.0 0.0 0:10.84 ksoftirqd/0
15 root rt 0 0 0 0 S 0.0 0.0 0:00.98 migration/0
16 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/0
18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
20 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/1
21 root rt 0 0 0 0 S 0.0 0.0 0:01.19 migration/1
22 root 20 0 0 0 0 S 0.0 0.0 0:04.68 ksoftirqd/1
24 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-events_highpri
25 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2
26 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/2
27 root rt 0 0 0 0 S 0.0 0.0 0:01.22 migration/2
28 root 20 0 0 0 0 S 0.0 0.0 0:15.99 ksoftirqd/2
30 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/2:0H-events_highpri
31 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3
32 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/3
33 root rt 0 0 0 0 S 0.0 0.0 0:01.23 migration/3
34 root 20 0 0 0 0 S 0.0 0.0 0:08.25 ksoftirqd/3
36 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/3:0H-events_highpri
37 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
38 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 inet_frag_wq
39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd
40 root 20 0 0 0 0 S 0.0 0.0 0:00.10 khungtaskd

brailyn@duplex:~$ lspci -nnv | grep VGA
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02) (prog-if 00 [VGA controller])
00:10.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04) (prog-if 00 [VGA controller])

date of server at time of post.

brailyn@duplex:~$ date
Sun Nov 26 05:11:17 UTC 2023

I see you’re running Plex in a VM.

What’s the Hypervisor?

The logs you provided don’t show any evidence of crash.

Next time it does crash, can you grab the logs ZIP file right after you restart it and then attach that ZIP file ?

The hypervisor is Proxmox and I am passing the Intel HD Graphics 630 thru to this VM.

I will post the logs when this happens again just after I reboot.

Proxmox is a PITA. We try to support it as best we can but it’s not official support.

I had to jump through hoops to make a test machine just to learn the basics.

If you’re trying to do SR-IOV, I will stop you here. It doesn’t work (yet?).

Transcoding works fine in Ubunutu from Proxmox. In the logs would it show if this is causing the failure?

The UHD630 is a great little GPU. I use it on all my NUCs.

Yes, the DEBUG server logs will show the last thing it was doing at time of crash.

This is almost always a perfect ‘smoking gun’ as to the problem.

1 Like

I think the original source of the “crash” was my old server turning on and making the interface appear offline even to itself. Has not happened now that the old server has been shut down.

However… I think I have a real crash log. Please take a look and let me know if this tells you what happened.

edit: logs removed due to private info within

@ChuckPa would you mind taking a look at this log?

@ChuckPa I removed the logs as they have private info. Let me know if there is a time you can look at this I will PM them to you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.