Forum Discussion
Tim Hunter
Feb 20, 2020Steel Contributor
termsvcs memory hog
The process termsvcs on my server running Server 2016 continues to be a memory hog. We were consistently in the high 90% on memory usage, so I got rid of alot of unnecessary programs and services tha...
- Feb 20, 2020
May need to look at what users are running, and total RAM. This PowerShell might help.
Tim Hunter
Aug 24, 2020Steel Contributor
Even after I removed a couple users, I thought that would help, but then termsvcs just takes whatever extra memory was left by the removed users, so my server is still at 96-99%. Anyway to limit termsvcs from taking all the extra memory?
Dave Patrick
Aug 24, 2020MVP
Some sizing recommendations here.
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/virtual-machine-recs
- Tim HunterAug 24, 2020Steel Contributor
- dretzerAug 25, 2020Iron Contributor
This does not sound right.
I just checked some of our RD Session Hosts and for 16 logged on users the RAM usage sits at 8GB to 9GB with trmsvcs using roughly 350MB - 400MB.
All Session Hosts are configured with Windows Server 2016 and 16GB RAM each. All users using Office, Browser and some LOB-Apps.
I would check for problematic software, drivers or configuration. If you are using a 3rd party antivirus, try removing it and test if the problem goes away.
- Tim HunterAug 25, 2020Steel Contributor
How many sockets and virtual processors do you have. My server is setup with 8 Sockets and 16 Virtual Processors with 48GB RAM. This seems like way too much "power" for the amount of users that I have. My users mainly do email, browser, and a couple third party applications so it's not overkill. Wondering if there is somewhere else I can look for a "memory leak" or a bug that may be compromising my resources. Thanks for any additional feedback you may have. I appreciate it.
- Dave PatrickAug 24, 2020MVP
Sounds like this may be a minimal amount of RAM, may need to consider adding more.