Loading

Tableau Server: UI Unresponsive and Repository Node Pinned at 100% CPU With PostgreSQL using most of the CPU

Udgivelsesdato: Oct 19, 2026
Beskrivelse
Applies To
  • Tableau Server  multi-node, with a high-availability repository (active and passive)

Issue: How to Recognize It

You likely have this issue if most of these apply:

On the repository node (the node running the active PostgreSQL repository)
  • CPU stays near 99–100% across all cores, and the node stops responding to Task Manager and RDP.
  • tsm commands hang or fail on that node, and you can't collect logs from it directly.
  • Disk activity is dominated by postgres.exe, and Disk Queue Length is high.
  • postgres.exe processes are spawned and terminated at a high rate.
  • Windows Performance Monitor (SRM/Resource Manager) and Logshark show disk queuing, but no matching CPU or PostgreSQL metrics, because they don't capture PostgreSQL CPU.

 

In Tableau Server
  • The UI is very slow or not reachable for all users.
  • Other nodes log database connection errors to the repository, and logs show connection pool exhaustion (for example "Connection leak detection triggered").
  • A repository failover to the passive node happens with no operation running. The previously active node then shows CPU spikes while passive.
  • Services on one node can show no log output for several minutes, as if the VM were suspended.
  • Extract refresh and flow runs are delayed or fail during these windows.

 

Cause
Several factors combined, and they can vary by environment:
  1. Heavy queries from administrative views against the active repository. Analysis of PostgreSQL logs showed a workbook built on the Tableau Server administrative views ran queries that caused full table scans. When it was opened during busy periods, the repository congested. Average PostgreSQL query duration rose about 2.5x between the first and later incidents. Opening the workbook added to a baseline of tens of thousands of slow queries already hitting the repository.
  2. Security agent scanning the Tableau and PostgreSQL paths. Process Monitor captures showed an endpoint security agent scanning the Tableau installation directory, including postgres.exe, on a repository node. Disk queue length and peaks were about halved after the agent was removed in testing.
  3. Backup agent CPU on the repository node. A third-party backup process used up to about 14% of total CPU in one backup window.
  4. Failover amplifies it. The repository fails over when the active node is unavailable for more than about 5 minutes. After the switch, the new active node can hit the same load pattern.

 

 

Løsning
Resolution / Recommendations
  1. Move admin and reporting workloads off the active repository. Point the administrative views or any reporting workbook at the passive repository or an external reporting copy, and avoid business hours.
  2. Review security settings. Exclude the Tableau installation and data directories and the PostgreSQL process, following Tableau's antivirus guidance. Test the exclusions.
  3. Move backups out of peak hours and away from the repository node.

 

Yderligere ressourcer
Additional Notes
  • Logshark can show disk queuing but can't show PostgreSQL CPU. A clean CPU graph in Logshark doesn't rule this out.
Vidensartikelnummer

005462024

 
Indlæser
Salesforce Help | Article