Mitigating Port Lingering Issue - Aster Execution Engine

Aster Instance Installation Guide for Aster-on-Hadoop Only

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
cng1496682698441.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
zjc1495153304403
lifecycle
previous
Product Category
Software
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