The call came in while I was still driving to work: production line down, database server unresponsive. There wasn’t much I could do from the car except say I was on my way.
By the time I got to my desk, the database was already back. An MSSQL TempDB full condition had started at about 5:29 AM on September 18, 2026, and the immediate problem had cleared. Connections were working again, and there was no obvious sign of the outage. Something had broken hard enough to stop a production line, and there was nothing on screen to point at.
The Blind Spot I Already Knew About
The first place I checked was Zabbix, where I’d normally pull up a timeline and see what tipped over first. For this client, though, the proxy connection had been down for a while. It was the same client whose Zabbix proxy I’d written about before, one where the connection dropped often enough that I’d stopped expecting it to stay up.
I already knew about the gap. Under the support arrangement, responsibility for keeping that connection up was unclear, so it had stayed disconnected. Until now that hadn’t cost us anything. This time it meant starting the investigation without one of my usual tools.
With Zabbix out, I went to Windows Event Viewer and worked backward from there.
The Timeline
| Time (Sept 18, 2026) | What Event Viewer and the queries showed |
|---|---|
| ~05:29 | SQL Server starts logging Error 9002 |
| 05:29–05:59 | Repeated tempdb transaction-log-full errors; several SQL Agent jobs fail |
| ~07:31 | SQL Server restarts (logged in Event Viewer) |
| 07:31:33 | tempdb create_date, which shows tempdb was recreated |
| Afterward | log_reuse_wait_desc is NOTHING for tempdb and the user databases; SQL Agent jobs run normally |
Nobody restarted it by hand. The person responsible for that server told me SQL Server had restarted automatically, and the Event Viewer log showed the restart.
What the Logs Showed
The error was this:
Error: 9002
The transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION'.
ACTIVE_TRANSACTION is the log reuse wait reason. SQL Server can’t truncate the log past the oldest open transaction, so the log space from that point on can’t be reused. If new log records keep arriving, the log eventually runs out of room. The direct cause here was tempdb’s transaction log running out of space while a transaction was open.
Several SQL Agent jobs failed with that same error. One monitoring job showed up repeatedly in the failure history, but the evidence doesn’t show it caused anything. It was one of the jobs hit once tempdb’s log was full.
What the Available Evidence Couldn’t Tell Me
- Which session or SQL statement held the transaction open. The logs I had after the incident didn’t identify it.
- Whether the log hit a configured size limit or ran out of drive space. I don’t have the tempdb file count, autogrowth settings, max sizes, or drive usage from 05:29.
- Exactly how long users were affected.
After the Restart
Here is what I could check once everything was back:
- T: drive total (the drive holding tempdb): about 380 GB
- Free space on the T: drive after recovery: about 346 GB
- tempdb log file after recovery: about 1,279 MB
All three were measured after the restart, so they don’t say how full anything was at 05:29.
Two checks like these show the restart and the recovered state:
SELECT name, create_date FROM sys.databases WHERE name = 'tempdb';
SELECT name, log_reuse_wait_desc FROM sys.databases;
The first returned a create_date of 07:31:33 on September 18. The second showed NOTHING for tempdb and the user databases, meaning nothing was holding up log reuse at the time I checked.
What the Incident Exposed
The database recovered before the investigation got very far. The TempDB problem itself sat inside SQL Server, outside the scope of our support. The missing monitoring history was what remained on our side. We knew the proxy connection was down, but the support arrangement had left it unresolved. If the outage had lasted longer, I would have needed that timeline to understand what happened and to answer the people waiting on me.
The database came back. The monitoring history that would have shown how tempdb grew did not.
Related reading:
Frequently Asked Questions
What does SQL Server Error 9002 on tempdb mean?
It means the transaction log for the database has run out of available space. When the reported reason is ACTIVE_TRANSACTION, an open transaction is preventing log truncation, so the log can’t be reused past that point until the transaction ends. That was the error we saw, starting around 5:29 AM.
What actually caused this MSSQL TempDB full event?
SQL Server reported that tempdb’s transaction log was full because of ACTIVE_TRANSACTION. I couldn’t identify the session or statement that held the transaction open from the logs available after the incident.
Why wasn’t this caught by monitoring before it became an outage?
The Zabbix proxy for that client had been disconnected for a while, tied to how support responsibility was split contractually. It was a gap I already knew about, and this was the incident where I needed the data behind it.
