DEV Community

Serguey Shinder
Serguey Shinder

Posted on

Our Remote Desktops Kept Each Profile on a Thirty Gigabyte Disk and Our Planners' Mailboxes Grew Past It

Our transport planners and office staff work from home on Citrix desktops. Since 2022 each person's Windows profile has lived in a container, a virtual disk stored as a file on a file server, which a tool called FSLogix attaches when they sign in. Whichever server they land on, they get the same desktop, settings and documents. The container also holds the local copy of their Outlook mailbox, because Outlook working from a local copy is much faster than fetching every message from the server.

FSLogix creates those containers with a maximum size of thirty gigabytes unless it is told otherwise. Nobody told it otherwise. When we set it up, the largest profile we had was nine.

On a Monday in January 2025 the planning team began reporting faults that looked unrelated. Outlook said it could not save a draft. Teams would not open. A spreadsheet saved the evening before had lost its last changes. By Wednesday thirty eight people had raised tickets, and the service desk had restarted, reset or reinstalled something for most of them.

Every one of the thirty eight had a profile container at or near thirty gigabytes. Our planners keep years of email, because a dispute about a delivery booking is settled by the email thread, and Outlook had been told to keep a local copy of all of it. The local copy grew with the mailbox until the container was full. After that, anything that tried to write to the profile failed, and each program failed in its own way. Our monitoring watched the free space on the file server, which had four terabytes to spare. It never looked inside the files.

The maximum is now fifty gigabytes. Outlook keeps a local copy of the last twelve months and reads older mail from the server when someone searches or opens it, which takes a second longer and is rarely noticed. Caches that programs rebuild for themselves are kept out of the container altogether. A nightly job reads how full each container is from the inside and raises a ticket at eighty percent, naming the person, so the service desk can call them before anything fails. The service desk's checklist for unexplained faults on a remote desktop now begins with that figure.

When one disk lives inside another, monitoring the outer one tells you nothing about the inner. Measure every layer your users actually write to.

– Serguey Shinder

Top comments (0)