Back to All Scenarios
PASSEDserver / socket_leak

Rust (Actix-Web) Socket Leak — Ephemeral Ports Exhausted on Oracle Linux 9

Rust (Actix-Web) has a socket leak causing ephemeral port exhaustion. Cannot create new outbound connections. TIME_WAIT count critical.

Pattern
CONNECTION_REFUSED
Severity
CRITICAL
Confidence
68%
Remediation
Auto-Heal

Test Results

MetricExpectedActualResult
Pattern RecognitionCONNECTION_REFUSEDCONNECTION_REFUSED
Severity AssessmentHIGHCRITICAL
Incident CorrelationN/ANone
Cascade EscalationN/ANo
RemediationAuto-Heal — Corax resolves autonomously

Scenario Conditions

Oracle Linux 9. Rust (Actix-Web) with 65485 sockets in TIME_WAIT. Ephemeral port range exhausted (32768-60999). New connections failing with EADDRNOTAVAIL.

Injected Error Messages (1)

Rust (Actix-Web) on Oracle Linux 9 — ephemeral ports exhausted, connection refused on new outbound connections, 65485 sockets in TIME_WAIT, ECONNREFUSED, actix-web 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: cmnhnw1y603h9lijgaeyspz5s