7.00.02 - Mitigating Port Lingering Issue - Aster Execution Engine

Aster Instance Installation Guide for Aster-on-Hadoop Only

prodname
Aster Execution Engine
vrm_release
7.00.02
created_date
July 2017
category
Installation
featnum
B700-5022-700K
Port lingering is a known and expected behavior in Linux. The listening ports will linger for a configured amount of time even after processes have died. If you encounter this issue, Teradata recommends taking these actions to mitigate the problem:
  1. Reduce the FIN timeout, which causes sockets to linger for a shorter time. For example:
    sysctl net.ipv4.tcp_fin_timeout=30
    Reducing the timeout to near-zero risks dropped packets during normal operations.
  2. Enable socket reuse, which allows the next server process to bind to a lingering socket. For example:
    sysctl net.ipv4.tcp_tw_reuse=1