IMD SolutionComputing LibraryShop main store

Troubleshooting

Why ArchestrA Historian storage shows high CPU usage

Edge computing and IIoT Published 6 min read

Short answer

Identify the busy aahStorage.exe instance in Task Manager's Details tab with the Command Line column, then trace whether a historical trend, report or background client drives the load. Storage also reads raw history blocks, so retrieval usually explains the CPU before collection settings are involved.

On this page
  1. Why does a process named Storage use CPU on reads?
  2. Which aahStorage.exe instance is consuming the CPU?
  3. Example: do three busy aahStorage.exe instances explain a server pegged at 100% CPU?
  4. Does a historical trend or report drive the load?
  5. Is it a live tag fault or a slow historical retrieval?
  6. What if CPU stays high with no historical requests running?
  7. How do you cut the load and prove the fix?
  8. Questions asked

ArchestrA Historian Storage pushing a server toward full CPU utilization is usually a read-path problem before it is a write-path one: the process named Storage also reads raw data back out of history blocks, and a busy historical trend, report or background client can drive it as hard as collection does. The decision path is fixed. Identify which aahStorage.exe instance carries the load, correlate the busy periods with historical requests, and change collection settings only when the evidence points at collection.

Why does a process named Storage use CPU on reads? #

Storage is not write-only: the aahStorage.exe process also reads raw data back out of history blocks, so heavy historical retrieval raises its CPU even when collection settings have not changed. Every trend, report or client query that pulls stored samples makes Storage read history blocks on disk, decompress and package the results, and hand them back. That means the CPU column for aahStorage.exe is a combined read-and-write indicator. A high reading by itself does not identify a write-side problem, and reducing tag collection on a read-driven load changes nothing. Treat the number as a reason to look at who is asking for data, not as a verdict on acquisition.

Which aahStorage.exe instance is consuming the CPU? #

Open Task Manager, switch to the Details tab, add the Command Line column and record each aahStorage.exe instance separately: the image name alone cannot tell instances apart when several run, each servicing a different part of the system.

  1. Open Task Manager on the historian server and go to the Details tab.
  2. Right-click a column header and add the Command Line column.
  3. Locate every aahStorage.exe row and record its process ID, full command line and CPU reading.
  4. Record total server CPU utilization alongside, so the instance readings have a denominator.
  5. Repeat the observation while the symptom occurs, keeping each reading keyed to its process ID.

Capture the command-line text rather than treating an unfamiliar argument as a fault; use the installed product documentation to map that invocation to its role. A process restarts under a new process ID, so rebuild the mapping if services were restarted during the observation.

Example: do three busy aahStorage.exe instances explain a server pegged at 100% CPU? #

In an illustrative reading, three aahStorage.exe instances show 38, 22 and 12 percent of total server CPU, and 38 + 22 + 12 = 72 percent, so historical retrieval accounts for most of a server that Task Manager shows pegged at 100 percent. The Details tab CPU column reports each process as a percentage of total processor capacity across all logical processors, so the readings sum directly against the total. With 100 − 72 = 28 percent left for the collection engine, the operating system and everything else, the load is dominated by Storage reads: follow the request path in the next two sections. If the same three instances had summed to roughly 15 percent, the remaining 85 percent would point away from Storage entirely, and the fix would live in whatever else Task Manager shows busy.

Does a historical trend or report drive the load? #

Yes: opening a historical trend, widening its time range, adding tags or firing a scheduled report all make Storage read raw history blocks, so timestamp each operator action and report schedule against the busy instance's CPU readings before touching collection settings.

Record the moment an operator opens a display, expands its time range, adds tags or starts a report, and compare those timestamps with the busy instance's readings. Include clients nobody is watching: scheduled reports, third-party SQL or API queries, and dashboards on another floor all request history without a visible screen. How expensive one request is depends mostly on the read path, which the guide to what decides historian data retrieval speed breaks down factor by factor. If CPU rises with a particular request, move to a controlled reduction of that request. If it stays high with no visible historical activity, hunt the background requesters before collection diagnostics.

Is it a live tag fault or a slow historical retrieval? #

Read the displayed value, quality, timestamp and any client error text together: a slow historical display points to retrieval or server contention, while a bad live value needs a separate trace through the tag binding, driver and controller.

Determine first whether the affected object requests live or historical data. For historical data, compare the same tag over a shorter time range, and another tag over the original range: if many historical tags slow together while live values stay current, the shared historical request path owns the problem. For live data, check the tag reference and its quality and timestamp at the source; if the source is valid but the object is wrong, the display binding owns the problem. Changing controller logic or driver settings does not fix a query workload, and fixing a binding does not explain CPU that stays high across unrelated requests.

What if CPU stays high with no historical requests running? #

Treat background clients, report schedules and replication as suspects before collection settings: CPU that stays high with no visible historical activity usually means an invisible requester or another process, and changing tag collection rates on a guess wastes the change window.

Compare readings before and after one controlled reduction in historical requests. A falling load confirms the workload relationship; an unchanged load redirects the investigation. Over the same interval, record:

  • report and export schedules, and any client that polls history on a timer
  • replication activity if this server feeds or receives from another tier
  • disk latency and memory pressure, which can turn history reads into operating-system work
  • historian diagnostic messages, with timestamps matched against the CPU readings
  • every other process in Task Manager sorted by CPU

If collection diagnostics track the load more closely than retrieval does, move to acquisition rates and tag activity. If nothing known explains it, keep the process mapping, installed version, diagnostics and workload description together for product support, and apply only fixes documented for your installed release.

How do you cut the load and prove the fix? #

Change one workload dimension at a time — a narrower time range, fewer tags, fewer refreshes, staggered reports — then repeat the same operator task and confirm the data returned still covers the required tags and period before calling the fix done.

Capture the baseline request first: tags, time range, refresh behavior, concurrent clients, completion time and the busy instance's CPU. Change one dimension, repeat the same task, and compare CPU and completion against the baseline. Faster completion with missing data is not a fix. One caution: stop or restart Storage processes only in a coordinated window, because it is a live data service and killing it mid-shift interrupts history collection for everything writing through it.

The decision for each case: one busy instance whose readings track operator and report activity — reduce that request and verify coverage. Several busy instances — measure their combined share and stagger the concurrent workloads. A small Storage share under a pegged server — fix the real consumer before changing historian settings. CPU unchanged after known request sources are isolated — hand support the mapping, version and diagnostics rather than applying an unverified setting.

Questions asked

Why does one historian server run several aahStorage.exe instances?

Each instance services a different aspect of the system, and the process name alone does not distinguish them. On the Details tab of Task Manager, adding the Command Line column separates the instances. A tier-2 historian additionally runs a secondary storage process, aahStorageEngine.exe, which the vendor documents as handling replication data; it is not a Windows service.

Does high CPU in Storage mean the historian is losing data?

No. CPU utilization measures processor demand, not data completeness. Judge completeness from historian diagnostics and by comparing a known tag, value and timestamp at the source against what the historian returns. A server can sit near full CPU while storing correctly, and a quiet server can still have gaps.

What should you record before opening a case with product support?

Capture the process ID to command line mapping for every aahStorage.exe instance, the installed historian version and build, diagnostic messages with timestamps over the observation interval, and a plain description of the workload that reproduces the load, including tags, time ranges, refresh behavior and concurrent clients. That set lets support map the busy instance to its role.

Will lowering collection rates fix Storage CPU usage?

Only when your readings show collection activity tracking the load more closely than retrieval does. For a read-driven load, reduce the request instead: narrower time ranges, fewer tags per display, fewer refreshes, and staggered report schedules. Changing collection on a query-driven problem leaves the CPU high and adds deadbands you did not need.

Keep reading

  • Troubleshooting

    Diagnose slow historian trends by separating events from samples

    A Process History View trend that stalls on open and again on a wider span is usually waiting on event retrieval, not continuous-history samples. Uncheck Display Events and Track Events, retest the same interval: a large improvement points the investigation at the event server, its selection and DNS reverse zones, not at historian storage.

    Edge computing and IIoT

  • Troubleshooting

    Edge trend shows no historian data: fix the doubled SELECT

    The trend stays blank because a complete SELECT statement was pasted into the Table field, so the gateway wraps it in its own SELECT ... FROM and SQL Server rejects the result as incorrect syntax near the keyword select. Put only Runtime.dbo.History in Table, carry DateTime, TagName and Value in the column controls, and move TagName = 'SysTimeSec' into the filter control.

    Edge computing and IIoT

  • Troubleshooting

    Fix a DeltaV embedded trend that shows no PI history

    The error names the chart's own PI history connection, PI1, failing to open — the data is not missing. Process History View working on the same workstation proves the server, network and stored interval are good, so stop cycling hostname, IP and defaulthost and reconcile the chart's Historical Data Server entry and the PI1 connection definition against the viewer's working path.

    Edge computing and IIoT