Translated message

A translation of this page exists in English.

다량의 CLOSE_WAIT socket이 JBoss에서 많이 발생합니다.

Solution Verified - Updated -

Issue

  • JBoss에서 CLOSE_WAIT 소켓의 양이 많아지는 경우가 있습니다. 어떻게 문제를 해결할 수 있을까요?
  • Service Mix 서버에서 연결 종료가 가까워지고 있습니다. Windows 서버에서 close_wait 소켓이 관찰되었습니다. Windows와 네트워크 관점에서 볼 때, 이는 애플리케이션 측 문제이며 연결이 끊어지고 있음을 확인했습니다. Windows 관점에서 다음과 같은 사항을 확인하십시오.
    • 'CLOSE_WAIT' - 서버에서 첫번째 FIN 시그널을 클라이언트로 부터 받았음을 인지하고 커넥션이 닫히는 중입니다. 그래서 이것은 근본적으로 어플리케이션에서 close()를 수행하도록 기다리고 있는 소켓이 있는 상태를 의미합니다. 소켓은 application이 close 될때까지 CLOSE_WAIT 상태에서 무한히 머무를 수 있습니다. 잘못된 시나리오로는 파일 설명자 누수, 서버가 소켓에서 close()를 실행하지 않아 close_wait 소켓이 쌓이는 경우 등이 있습니다.
    • CLOSE_WAIT 상태는 다른 쪽에서 연결 닫기를 시작했지만 로컬 쪽의 애플리케이션이 아직 소켓을 닫지 않았음을 의미합니다.
    • 8081 포트가 “JAVA.exe” 때문에 실행 중인 것으로 보입니다. [troubleshooting-connections-stuck-in-close-wait-status]를 참조하세요.(http://stackoverflow.com/questions/5636316/troubleshooting-connections-stuck-in-close-wait-status) and how-to-not-get-so-many-apache-close-wait-connections.
  • 모든 결과는 해당 애플리케이션이 close()를 실행해야 함을 나타냅니다. 관련된 밴더에 문의하여 소켓 종료 문제를 간단히 확인해 볼 수 있을까요?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content