Hey Guys...I seem to have a memory-leakage issue with PLEX on my DS412+. I first noticed it yesterday when the server was choking on a single 720p stream. I logged into the Synology and found its RAM usage was hovering right around 97%. The resource monitor showed many iterations of "python" using over 600MB of memory. Shutting down the PLEX server package and restarting made this go back down to ~15% last night...but now tonight it was right back up to the +600MB of usage. I then uninstalled and reinstalled the PLEX server.
Is this a known issue? If so...is there any workaround?
I'm running PLEX 0.9.6.9.240-8fd9c6a
Playing with it some more this morning...it seems to be related to the library updates. I did a manual update this morning...and the RAM gradually climbed up to 95% utilization, and didn't go back down after the update was complete. I guess I could disable all automatic updates and just do it manually, and then reset the service afterwards...but sheeesh.
I have the exact same issue as you discribed. It still happens with the latest 0.9.7.22.511 on my DS211+.
And how do you reset the service? When this happens to me I have to reboot all the time. And it happens with almost any update so atm I disabled pms.
As you can see in my case 3343MB is actually free, but a lot of it is currently cached.
I would start to worry if system becomes slugish and applications fail to allocate RAM, otherwise this is no big deal. See ZiGGiMoN's excellent explaination of "cached" RAM below.
Cached only means it’s used for disk and io cache. It’s not reserved. So as soon as a process asks for more ram and it’s all cached, it’s simply released from cached to the process. It’s by design that unused memory is used as cache to improve performance. Nothing to worry about.
I just installed PMS on a Synology DS112. All seemed to go well. When I went through the configuration and started to add sections to my library I was adding them to volume1/Plex/Library. Now when I go back into my DS either through the Filestation, or FTP or simply connecting through the Mac Finder there is no Plex directory at the root of the device. There is, however, a plex directory (lowercase p) in the homes directory. I added a file there just to see what would happen and nothing happened. I'm not sure how that directory got created there, but obviously PMS is looking for files in the volume1/Plex/Library directory, but I just can't seem to see it. Am I doing something wrong here?