Non-responsive after 1.15.0.659 ubuntu upgrade

Almost 5 gigs of memory

Plex Media Server Databases_2019-02-18_01-33-45.zip (17.5 MB)
Plex Media (4.3 MB)

Thank you. That’s definitive.

Confirming:

  1. DVR off - No memory leak/consumption growth
  2. DVR on - initialized but otherwise idle - Continuous memory utilization growth

Yes?

Hi Chuck,

Yes, that is correct :slight_smile:

Thanks for all of your help on this!! Great working with you.

Bug report submitted to Engineering.

1 Like

Also seeing a huge memory leak with DVR enabled on 1.15.0.659 (on CentOS). I’m not sure if it’s starting when the guide starts getting pulled or not. Are logs still needed or you guys good?

1 Like

THanks. Already reported.

Until I get word back from Engineering, I can only suggest you restart daily.

I also did testing with Windows 10 Desktop, same results, memory leak with DVR enabled.

Thanks for reporting. I have added your information to the bug report.

Thanks for reporting this to engineering. In the meantime, what’s the latest Plex Pass version that doesn’t have the memory leak? Thanks in advance!

would like to see debug logs from Plex Media Server when this happens and ideally a VmMap capture file

A memory usage issue is being fixed in the next beta 1.15.1 and is related to the scheduler and arises if there are many scheduled recordings. The logs would help to establish if it is this or different issue

https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
https://support.plex.tv/articles/200250417-plex-media-server-log-files/

Let me run the Windows 10 Desktop over night, I have restarted it. Also, I am seeing memory build up with DVR enabled, but nothing scheduled too. Let me gather the logs, then we can determine if this is new normal with memory or leak.

could you have VMMAP connected to the PMS process overnight and then if there is an issue - save the vmmap data into mmp file and get the logs

The memory issue i was mentioning is corrected in the beta that was issued today - 1.15.1.707
See Plex Media Server - #246 by emilybersin

Done, running it now

still seeing a memory leak on 1.15.1.707, CentOS. Only have two things scheduled which run daily on the DVR. Memory usage is 3x - 4x higher than average at the moment. Let us know if you need logs.

I’m also seeing a memory leak in 707.

1 Like

Plex logs, looks like plex updated to 707

Plex logs.zip (4.8 MB)

Yes. the leak is still there. The fix did not make 707. We’re trying to get a hotfix released.

EDIT: I am misinformed. I will post fresh when I know better.

The VMMap does not look right - with peak at about 110Mb committed memory and going down
image

The server was for period Feb 22, 2019 13:01:42 to 17:24:04
The main activity appears to have been premium music library scanning.
When did you notice massive memory usage and how much?

If there is a ,memory issue, logs would start to show allocation failures or failure to start a new thread. So best to tackle the actual issues that arise through investigation of logs with debug logging enabled and if they show memory issues then that can be looked into

Not sure if your reply applies only to Windows but I completely ran out of memory & swap due to the PMS process. Was unable to kill it and required a hard restart (from the power button, not from the CLI… ouch). PMS continues to grow in memory at the moment and I’ve resorted to restarting PMS every 8 hours via crontab instead. Hoping this helps others in the same position.

edit: on .707