IMD SolutionComputing LibraryShop main store

Troubleshooting

Historian Client concurrent licenses on one RDS server

Edge computing and IIoT Published 6 min read

Short answer

Two users running five Historian Client applications on one RDS server consume two concurrent seats, because the Historian Client Desktop concurrent license is allocated per Windows session, not per application. Seats beyond the live-session count come from disconnected sessions still running clients; set a disconnected-session logoff limit on the RDS collection to stop them accumulating.

On this page
  1. How the concurrent seat is allocated
  2. The seat arithmetic for two users and five applications
  3. Confirm it with a controlled test
  4. Why disconnected sessions hold seats
  5. Set the disconnected-session logoff limit
  6. Clear the stale sessions holding seats now
  7. Questions asked

Two users, five Historian Client applications, one RDS server: the correct consumption is two concurrent seats. The Historian Client Desktop concurrent license is allocated to the Windows session that starts the first client application, and every other client application in that same session — Trend, Query, Workbook — shares that one seat. Opening another application window does not create another allocation; creating another session does. When the license administration shows three, four or five seats gone for two operators, the seats are being held by sessions, not by windows, and the usual holder is a disconnected session the user never signed out of. Fix the RDS disconnected-session logoff limit, clear the stale sessions, and the pack goes back to matching your operator count.

How the concurrent seat is allocated #

For the Historian Client Desktop concurrent-user package — the 2023 five-seat pack in this deployment — the seat is taken by the connecting computer, and on an RDS server every Windows session counts as a separate connecting computer to the license manager. The allocation therefore follows the session, not the application: the first Historian Client application started in a session takes the seat, and every other one in that same session runs on it.

A username, a session, an application process and a license allocation are four different objects, and only the last two move together. One username can own several sessions; one session can own many client processes. Neither the operator roster nor the number of open windows tells you the seat count — the session list does.

What you inspect Where What it tells you
Entitlement record License administration on the server Confirms the Historian Client Desktop concurrent package and its seat count
Allocated seats The same display, watched over time The baseline and each change during testing
Session ID, username and state RDS session administration Separates active from disconnected sessions under one username
Client processes per session Process view inside each session Which session actually runs Trend and Query

Before attributing anything to session behavior, confirm the server is actually granting the entitlement that was installed; version mixing on the server license is a separate fault, and it is the subject of AVEVA Historian 2023 R2 license backward compatibility.

The seat arithmetic for two users and five applications #

The rule is one seat per session running at least one Historian Client application:

Session Applications running Seats held
User 1, one session 2 x Trend, 1 x Query 1
User 2, one session 1 x Trend, 1 x Query 1
Total 5 applications, 2 sessions 2 of the 5-pack

Now the fault. User 1 closes the Remote Desktop window at shift end instead of signing out, then reconnects later and lands on a fresh desktop while the old session sits disconnected with Trend and Query still running. One more disconnect-reconnect does it again. User 1 now has 1 active plus 2 disconnected sessions = 3 sessions; user 2 has 1 active. Seats = (3 + 1) x 1 = 4 of the 5-pack. One further stale session anywhere reaches 5 x 1 = 5 seats and the pack is exhausted while two operators sit at their desks. Application count never enters the arithmetic; only sessions do.

Confirm it with a controlled test #

  1. Record the allocated-seat count and the full session list — ID, username, state — at the same moment, from the License Manager allocation display whose entitlement-side behavior is covered in AVEVA Historian Flex licensing and redundancy credits.
  2. Have one authorized test user open a single RDS session and launch Trend. Expected change: +1 seat.
  3. In that same desktop, open a second Trend and a Query. Expected change: none.
  4. Have the second user open their own session and launch one Trend. Expected change: +1, leaving the total equal to the session count.
  5. Disconnect the first user without signing out, reconnect, and compare session IDs: a new ID alongside the surviving old one reproduces the fault.

The test passes when allocations equal the sessions running clients. If instead every application launch adds a seat, capture the session IDs, the application list, the entitlement record and the license diagnostics and raise them with the vendor, because that result contradicts the per-session allocation this package documents.

Why disconnected sessions hold seats #

Closing the Remote Desktop window is a disconnect, not a sign-out. The desktop, its Trend and Query processes and its license allocation all survive. If the next connection lands on a new session instead of the disconnected one — a reconnection and routing question, not a licensing one — both desktops hold seats under a single username. That is how an operator roster of two names legitimately shows four or five allocations.

Each abandoned desktop also keeps its memory and CPU footprint on the session host, which is the pattern behind RDS CPU saturation across sessions on a busy multi-user server.

Set the disconnected-session logoff limit #

Set the disconnected-session logoff limit to 30 minutes on the operator collection. The basis: a connection drop that is not re-established within half an hour is an abandoned desktop, not a network blip, and 30 minutes is long enough for a user to reconnect after a link failure while being short enough that a stale seat cannot survive into the next shift. Sites with longer recovery windows can raise it, but every added hour is an hour a seat can be held by nobody.

The limit lives in the session time-limit settings of the RDS collection, with an equivalent policy area for domain-wide enforcement, and it must end the session rather than merely mark it.

  1. Open the collection's session time limits and set the disconnected-session logoff to the interval you committed to.
  2. Check the effective settings on the session host for a conflicting value that overrides the collection.
  3. Open Trend in a test session, then disconnect without signing out.
  4. Wait through the interval and confirm the session is gone from the session list.
  5. Confirm the seat count in the license display dropped by one.

Automatic logoff force-closes applications and discards unsaved work, Trend, Query and Workbook edits included. Choose the interval around legitimate interruptions and make sign-out the taught way to finish; the timer is the backstop for lost connections, not the primary exit.

Clear the stale sessions holding seats now #

A new limit does not reclaim seats already allocated, so clear the backlog deliberately:

  1. List all sessions with ID, username and state; group by username and keep every ID separate.
  2. Mark the disconnected sessions whose process lists contain Historian Client applications.
  3. Confirm with each owner whether the desktop holds work worth keeping.
  4. Where it does, reconnect, save, and sign out properly.
  5. End genuinely abandoned sessions through authorized RDS administration.
  6. Watch the license display release each seat as its session ends.

With the limit set and the backlog cleared, the steady state for this deployment is two seats for two operators and three spare in the 5-pack for a third session or a bad day.

Questions asked

Does closing the Remote Desktop window release the Historian Client seat?

No. Closing the window disconnects the session; Trend, Query and Workbook keep running in it and the seat stays allocated. The session remains available for reconnect until the disconnected-session logoff limit ends it, and reconnecting to that same session reuses the seat it already holds. Signing out is what releases the seat immediately.

Is an idle session the same as a disconnected session?

No. An idle session is still connected but inactive; a disconnected session has lost its RDP connection entirely. Historian Client holds its seat in both states. The disconnected-session logoff limit is the one that reclaims seats from abandoned desktops; an idle limit only acts on desktops that are still connected.

What happens when the fifth seat in the 5-pack is taken?

The pack is exhausted: five sessions each hold one seat, and the next session to start a Historian Client application has nothing left to take. That is the moment to audit the session list for disconnected desktops, not to conclude the pack is undersized. Two live operators plus three abandoned sessions will fill all five seats.

Where does the disconnected-session logoff limit live?

In the session time-limit settings of the RDS collection that owns the session host, with an equivalent policy area for domain-wide control. Set it on the collection so every host enforces the same interval, then check the effective settings on the host itself for a conflicting limit before testing. A test session confirms the interval actually logs off.

Keep reading

  • Troubleshooting

    Diagnose a slow historian web client page load on the server

    Capture the load in the browser Network tab with the cache disabled and split each slow request into connection, TLS, waiting and download phases. When waiting for server response holds most of the time, the historian web services are waiting on the shared SQL Server host: cap Max server memory, check disk latency, then send support a redacted HAR. The timing split, not the total load time, decides the cause.

    Edge computing and IIoT

  • Troubleshooting

    Historian trend flat line: check Query Row Limit

    A historian trend that draws one straight value in history mode while live mode and a direct SQL query both return good data is truncating rows client-side. The tag's Query Row Limit on the graph was set to 2 instead of the documented default 0, so only two samples came back. Set it to 0, then confirm the trend's saved row count matches the SQL count.

    Edge computing and IIoT

  • Selection guide

    Plant SCADA 2023 R2 AEL license tiers and included historian tags

    Plant SCADA 2023 R2 (v8.5) AEL server licenses bundle a Historian 2023 R2 Server (Standard) and a Reports for Operations 2023 R2 Server: 500 historian tags and 500 reporting tags at the 1,000- and 2,500-tag tiers, and 5,000 of each from the 10,000-tag tier through Unlimited. Existing enterprise licenses pick the entitlements up with a sync rather than a repurchase; legacy USB keys exchange through the distributor; and Flex shows existing enterprise customers only the 100,000-tag and Unlimited packages.

    Edge computing and IIoT