SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10...

24
SERVER HANG & SLOWDOWN 문제

Transcript of SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10...

Page 1: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

SERVER HANG & SLOWDOWN 문제

Page 2: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Server Hang

Page 3: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Server Hang이란?

Page 4: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Server Hang의 원인

Page 5: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

스레드 덤프의 정보 구성

Page 6: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread 상태

Page 7: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread State – Server Hang

Page 8: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread State – Server Hang

Page 9: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread State – Server Hang

Page 10: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread State – Server Hang

Page 11: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread State – Server Hang

Page 12: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:
Page 13: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

스레드 덤프

Page 14: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

스레드 덤프 받는 방법은?

Page 15: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Java thread 덤프의 중요성

Page 16: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Take at least 3 times, with 1 to 2 seconds interval

To analyze thread dumps

Page 17: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:
Page 18: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Server가 느려 지는 상황에서 Dashboard

Page 19: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread Dump 분석

Page 20: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread Dump 분석

Page 21: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

Thread dump 분석 후 원인 파악

Page 22: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

“살아 남는 종(種)은 강한 종이 아니고,

또 우수한 종도 아니다.

변화에 적응하는 종이다. ”

- Charles Darwin, 1809

Page 23: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

감사합니다.

Page 24: SERVER HANG & SLOWDOWN 문제 - Opennaru, Inc. · Basics "http-thread-pool-threads - 250" prio=10 tid=0x000C7fab9c192800 nid=0xdbc9 wpiting on condition [Ox00007faa6ce2c000] java.lang.Thread.State:

제품이나 서비스에 관한 문의

콜 센터 :02-469-5426 ( 휴대폰 : 010-2243-3394 )

전자 메일:[email protected]