# Plex Server Crashing at Random Times

**URL:** https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [November 26, 2023, 5:13am UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696 "2023-11-26T05:13:48Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [November 26, 2023, 5:13am UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/1 "2023-11-26T05:13:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [November 26, 2023, 6:50pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/2 "2023-11-26T18:50:38Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [November 26, 2023, 7:10pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/3 "2023-11-26T19:10:55Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [November 26, 2023, 7:20pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/4 "2023-11-26T19:20:06Z")

</div>

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?).

---

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [November 26, 2023, 8:05pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/5 "2023-11-26T20:05:44Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [November 26, 2023, 8:11pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/6 "2023-11-26T20:11:35Z")

</div>

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

Yes, the DEBUG [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) will show the last thing it was doing at time of crash.

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

---

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [December 13, 2023, 2:57am UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/7 "2023-12-13T02:57:08Z")

</div>

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

 ![image_1702434907443_0](https://global.discourse-cdn.com/plex/original/4X/4/3/b/43b240094c2be443a8c99d732da451e9f7a36a2f.png)

---

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [December 16, 2023, 9:00pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/8 "2023-12-16T21:00:16Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Brailyn](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Brailyn](https://forums.plex.tv/u/Brailyn)
#### Post date: [December 21, 2023, 9:25pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/9 "2023-12-21T21:25:16Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [March 20, 2024, 9:25pm UTC](https://forums.plex.tv/t/plex-server-crashing-at-random-times/860696/10 "2024-03-20T21:25:18Z")

</div>

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