Subject : How can I clean up TCP connections from PC clients?

Description :


. 우리는 Solaris server에 inactive PC session들로부터 많은 connections이
  있는 것을 보게된다.
  때때로 이것은 PC client들이 다시 접속하려는데 문제를 유발한다.


. 이러한 문제를 유발하는 것은 무엇인가?
  그러한 socket connection들을 볼수 있고 제거할수 있는가?
  다음은 이것들에 대한 Solution을 기술하였다.


. 종종 PC의 client software가 안정적이지 못하며 Crash, 또는
  Reboot을 유발한다. 
  또한 사용자들은 자주 비정상적으로 그들의 application 또는
  machine을 끈다.


. 당신이 Solaris server상에서 open되어있는 connections이
  무엇인지를 확인하려면 다음과같이 한다.

  #netstat -af inet


. 때때로 이러한 TCP application들은 Solaris server의
  TCP parameter들을 줄임으로써 문제를 해소할 수 있다.
  이러한 parameter들은 다음과 같다.

  #tcp_keepalive_interval
  #tcp_ip_abort_interval
  #tcp_close_wait_interval


. 비록 10초로 paramter를 최소한으로 잡는 경우도 있지만
  최소한 1, 2분 정도를 Setting하기를 권장한다.

  #ndd -set /dev/tcp tcp_keepalive_interval  120000  # 120 seconds
  #ndd -set /dev/tcp tcp_ip_abort_interval   120000  # 120 seconds
  #ndd -set /dev/tcp tcp_close_wait_interval 120000  # 120 seconds


Revision History

작성일자 : 96.08.01
작성자 : 이민호

수정일자 :
수정자 :