# Memory Leak Plex Version 1.23.2.4656

**URL:** <https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [June 14, 2021, 1:35am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446 "2021-06-14T01:35:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![epicfatigue](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@epicfatigue](https://forums.plex.tv/u/epicfatigue)\
**Post date:** [June 14, 2021, 1:35am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/1 "2021-06-14T01:35:10Z")

</div>

Server Version#: 1.23.2.4656  
Player Version#:

Hey all long time user first time poster.  
Got cant say i have ever had an issue running Plex ever but i seem to have a memory leak within the application.

Im running a **Dell R710** with Proxmox

CPU(s) 24 x Intel(R) Xeon(R) CPU X5660 @ 2.80GHz (2 Sockets)  
Kernel Version Linux 5.4.60-1-pve #1 SMP PVE 5.4.60-2 (Fri, 04 Sep 2020 10:24:50 +0200)  
98Gig of ram  
GPU is a Quadro P2000

I guess i will start with the full story as it my or not be connected.

Recently i had Plex use all of its os drive 64gig or there abouts, i found it odd but did very minor investigation and put it down to maybe because i run 13tb of media on there, so i expanded the boot volume by 10 gig and moved on.

Which brings us to two days later, i went to watch a movie and the server was un-responsive, i checked and sure enough full cpu mem and swap.  
I stoped and restarted and i watched it climb till max, so then i decided what the hell i only assigned 8gig ram to it maybe ill give it another 8, sure enough same thing happened.

I have just cleared all my logs and done a clean reboot and let the memory slowly max and downloaded the log right before crash.

 ![Capture](https://global.discourse-cdn.com/plex/original/3X/d/a/da78e53ad3b79261179f050bb6feed4844fafca2.jpeg)

Currently i am expanding the disk volume another 20 gig to do a DB optimisation  
[Plex Media Server Logs\_2021-06-14\_03-49-08.zip](https://forums.plex.tv/uploads/short-url/qqE3iEJyzPBcqafG5qOR3WR2nXe.zip) (1.8 MB)

---

<div class="post-metadata">

**Author:** ![epicfatigue](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@epicfatigue](https://forums.plex.tv/u/epicfatigue)\
**Post date:** [June 14, 2021, 3:48am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/2 "2021-06-14T03:48:47Z")

</div>

Well i did a DB optimisation, and everything was sweet until i played a video, then i watched the memory climb until a crash again.

it was only a 1 minute 4k sample

---

<div class="post-metadata">

**Author:** ![kegbeach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kegbeach/32/216116_2.png) [@kegbeach](https://forums.plex.tv/u/kegbeach)\
**Post date:** [June 14, 2021, 4:10am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/3 "2021-06-14T04:10:31Z")

</div>

How are you running Plex on Proxmox? Are you installing it right on the base install of Proxmox or are you using a virtual machine and then installing Plex in the virtual machine?

---

<div class="post-metadata">

**Author:** ![epicfatigue](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@epicfatigue](https://forums.plex.tv/u/epicfatigue)\
**Post date:** [June 14, 2021, 4:25am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/4 "2021-06-14T04:25:28Z")

</div>

Sorry use a CT with CentOS 7

---

<div class="post-metadata">

**Author:** ![kegbeach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kegbeach/32/216116_2.png) [@kegbeach](https://forums.plex.tv/u/kegbeach)\
**Post date:** [June 14, 2021, 4:32am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/5 "2021-06-14T04:32:13Z")

</div>

Have you checked for updates on Proxmox lately?

I’ll give you my advice… I don’t think you should be running Plex inside an LXC container. Containers are dumbed down versions of Linux without all the bells and whistles. Since Proxmox is qemu/KVM I highly recommend installing a full CentOS 7 system ontop of Proxmox and then using podman/docker to run Plex. Or if you choose CentOS Stream then just podman…

I know this isn’t what you want to hear but I would scrap Proxmox alltogether and use XCP-NG. I run CentOS 8 ontop of XCP-NG and use the same version of Plex as you via podman and have no memory leaks.

I seriously think it’s either a container issue or a problem with Proxmox itself.

Scrap container, install full VM using qemu/KVM on Proxmox. If no memory leak then it was a container issue. If memory leak still present then Proxmox issue.

---

<div class="post-metadata">

**Author:** ![epicfatigue](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@epicfatigue](https://forums.plex.tv/u/epicfatigue)\
**Post date:** [June 14, 2021, 5:06am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/6 "2021-06-14T05:06:17Z")

</div>

It’s been running stable for years…

---

<div class="post-metadata">

**Author:** ![kegbeach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kegbeach/32/216116_2.png) [@kegbeach](https://forums.plex.tv/u/kegbeach)\
**Post date:** [June 14, 2021, 6:16am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/7 "2021-06-14T06:16:20Z")

</div>

I would upgrade the container to something more recent to start and go from there.

---

<div class="post-metadata">

**Author:** ![epicfatigue](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@epicfatigue](https://forums.plex.tv/u/epicfatigue)\
**Post date:** [June 14, 2021, 11:40am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/8 "2021-06-14T11:40:18Z")

</div>

kinda disagree with that, anyways did some digging looks like something went astray in the db, could have been from a power outage that occurred during the floods.

Removed plex wiped its files, and reinstalled, directory went from 60+gb to 8 which it was before these problems, all running fine now.

I used Centos7 because i pass through my GPU from the PVE, never had an issue till now, been running for 5+ years without issue.

---

<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:** [September 12, 2021, 11:40am UTC](https://forums.plex.tv/t/memory-leak-plex-version-1-23-2-4656/722446/9 "2021-09-12T11:40:54Z")

</div>

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