Remote Desktop Session Host becomes increasingly unstable beyond 75-85GB RAM - WS2022

Masterchief07 106 Reputation points

Hey everyone! So, I have an RDS server set up with the following specs:

Proliant DL360 G10 w/ vSphere 7.03 Hypervisor
Win Server 2022 VM
48 CPUs Assigned (from 2 x XEON Platinum 6164s)
160GB RAM Assigned
1TB of Sata SSD Storage Assigned (from a RAID10 array of 6x2TB SSDs)
10GBit Ethernet between Exchange/DC/FMS/RDS/etc servers

We have about 70 users remoting into this server running Word, Excel, Outlook, Acrobat DC, Filemaker Pro Client, Firefox, and some JAVA applets. Supporting applications are Kaspersky Endpoint, Adguard, OpenShell. Nothing too crazy. In fact, this same deployment worked perfectly fine on Server 2012R2, and with less RAM and CPU allocation.

So what's baffling is that this deployment becomes incredibly unstable as RAM usage surpasses 75-85GB and things start to break around the 100GB mark. And by break, I mean the following:

-Right clicking stuff causes Explorer.exe to hang
-Kaspersky Endpoint's GUI crashes
-User profile service can get stuck leaving logins/logouts in limbo
-Windows Audio service will hang
-Constant icon refreshes
-General/intermittent application hangs

Page file is system managed, though I did try bumping it up artificially. No real difference. Most of the profile data is streaming from the DC, except for Documents and Appdata due to a limitation of the Filemaker program we use. So those are roaming. I have a bunch of the performance tweaks in play via GPO, like limited local redirections, display experiences, Office add-ins, etc etc. Time is perfectly synced across all servers as is DNS.

An interesting note too, if I log off a few folks to bring down RAM consumption, everything stabilizes even after shit hits the fan.

So yeah, maybe I am missing something? I know I can go the multi-session host route with a broker to evenly distribute users amongst smaller scale VMs, but I'm convinced that this can be rectified because it was working on older software with less resources.

Anyways, any insight would be appreciated. Thank you all in advance!

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,628 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,511 Reputation points

    Hi there,

    In context does older software means older versions of Windows and do you notice after any recent updates?

    There were some reports of the latest updates breaking up the RDP and causing the issue, make sure you are not a victim of this by uninstalling any latest updates and checking the results.

    You can also consider tuning the Remote Desktop Session Hosts. Most of the CPU usage on an RD Session Host server is driven by apps. Desktop apps are usually optimized toward responsiveness with the goal of minimizing how long it takes an application to respond to a user request.

    Performance Tuning Remote Desktop Session Hosts

    I would also suggest using Process Monitor to identify the process behind the high RAM usage.
    Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry, and process/thread activity.

    You can get the tool from here


    --If the reply is helpful, please Upvote and Accept it as an answer–