Back to All ScenariosPASSEDinfrastructure / socket_leak Nagios Core 4.5 Socket Leak — Ephemeral Ports Exhausted on RHEL 9
Nagios Core 4.5 has a socket leak causing ephemeral port exhaustion. Cannot create new outbound connections. TIME_WAIT count critical.
Pattern
CONNECTION_REFUSED
| Metric | Expected | Actual | Result |
|---|
| Pattern Recognition | CONNECTION_REFUSED | CONNECTION_REFUSED | |
| Severity Assessment | HIGH | CRITICAL | |
| Incident Correlation | N/A | None | |
| Cascade Escalation | N/A | No | |
| Remediation | — | Auto-Heal — Corax resolves autonomously | |
Scenario Conditions
RHEL 9. Nagios Core 4.5 with 36172 sockets in TIME_WAIT. Ephemeral port range exhausted (32768-60999). New connections failing with EADDRNOTAVAIL.
Injected Error Messages (1)
Nagios Core 4.5 on RHEL 9 — ephemeral ports exhausted, connection refused on new outbound connections, 36172 sockets in TIME_WAIT, ECONNREFUSED, nagios socket leak detected
Neural Engine Root Cause Analysis
Connection refused — service is likely crashed or not listening on the expected port.
Remediation Plan
Restart the target service. If recurring, check for memory leaks or crash loops.
Improvements Applied
- Severity: CRITICAL (expected HIGH)
Tested: 2026-04-02Monitors: 1 | Incidents: 1Test ID: cmnhnw2mv03khlijgc5vx9ziz