server·network
Tomcat(tomcat-web:27471) is already RUNNING, tomcat shutdown안될때, close-wait된 포트 끄
JENN_tech7
2022. 7. 15. 15:49
728x90
SMALL
가장 간단한 방법은 저 274719(pid)을 꺼줘버리면 되는 것
kill -KILL 26694
이런식으로..
근데 이제 CLOSE_WAIT된 포트들이 궁금하다면
ss -tap | grep CLOSE-WAIT
명령어통해서 확인한 후 pid찾아서 kill해주면 된다
근데 한 두번인가 안되서 아파치도 껏키해주고 톰캣 또 한번 껏키해주고 이러니까 됐다..휴
참고ref
https://www.baeldung.com/linux/remove-close_wait-connection
Remove a CLOSE_WAIT Socket Connection | Baeldung on Linux
Learn what a CLOSE_WAIT state is and how to remove the socket connection.
www.baeldung.com
728x90
LIST