TCP port Exhaustion

This page reorganizes the operational steps for TCP port Exhaustion.

While running several Wallboards, maybe connected to several queues, it is not uncommon to see a shortage of ephemeral ports. You can count how many ports you are using with AMI with the following command:

netstat -an | grep TIME_WAIT | grep -c :5038

Common solutions would be to lower your TCP timers and turn on tcp_reuse. In your sysctl.conf file, add:

net.ipv4.tcp_fin_timeout=1
net.ipv4.tcp_tw_reuse=1

Current Verification

After applying the change, verify the related MiRTA PBX page, the Asterisk logs, and the relevant Status menu entry. Recheck tenant selection before testing tenant-specific behavior.


Revision #3
Created 2026-06-02 21:59:32 UTC by Admin
Updated 2026-06-02 22:00:26 UTC by Admin