문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
java:8:migration [2016/08/17 09:43] kwon37xi [''localhost'' 이름을 잘못 읽어오는 문제] |
java:8:migration [2016/09/24 14:42] (현재) kwon37xi |
||
|---|---|---|---|
| 줄 9: | 줄 9: | ||
| * [[http:// | * [[http:// | ||
| + | ===== TieredCompilation ===== | ||
| + | * [[http:// | ||
| + | * 일반적으로는 성능상 유리한 것이지만, | ||
| + | * '' | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| ===== DNS Resolve 문제 ===== | ===== DNS Resolve 문제 ===== | ||
| * 두가지 문제가 있어보인다. | * 두가지 문제가 있어보인다. | ||
| - | ==== '' | + | ==== localhost 이름을 잘못 읽어오는 문제 ==== |
| * [[https:// | * [[https:// | ||
| * 제일 빠른 해결책은 ''/ | * 제일 빠른 해결책은 ''/ | ||
| 줄 18: | 줄 24: | ||
| > The newer calls respect the localhosts / | > The newer calls respect the localhosts / | ||
| - | Since the /etc/hosts file contains an explicit mapping for this hostname / IP combination, | + | > Since the /etc/hosts file contains an explicit mapping for this hostname / IP combination, |
| > In the older JDK's the gethostbyname_r actually ignored the local machines settings and immediately delegated to the naming service. | > In the older JDK's the gethostbyname_r actually ignored the local machines settings and immediately delegated to the naming service. | ||
| + | |||
| > 신규 버전은 / | > 신규 버전은 / | ||
| - | /etc/hosts 가 IP와 hostname으로 명시적으로 localhost를 가지고 있으므로 | + | > /etc/hosts 가 IP와 hostname으로 명시적으로 localhost를 가지고 있으므로 |
| - | 기존 JDK가 호출하는 gethostbyname_r 은 로컬 장비의 설정을 무시하고 즉각 naming service를 호출한다. | + | > 기존 JDK가 호출하는 gethostbyname_r 은 로컬 장비의 설정을 무시하고 즉각 naming service를 호출한다. |
| ==== 하나의 Domain Name에 여러 IP가 Round Robin으로 물려 있을 때 특정 IP만 응답하는 문제 ==== | ==== 하나의 Domain Name에 여러 IP가 Round Robin으로 물려 있을 때 특정 IP만 응답하는 문제 ==== | ||
| 줄 30: | 줄 37: | ||
| * [[https:// | * [[https:// | ||
| * RedHat Linux 4~7 에 영향을 미친다고 하는데, 실제로는 6.5~7에서는 별 문제 없다는 말도 있음. 테스트가 필요함. | * RedHat Linux 4~7 에 영향을 미친다고 하는데, 실제로는 6.5~7에서는 별 문제 없다는 말도 있음. 테스트가 필요함. | ||
| + | |||
| + | |||
| + | ==== 고부하 (High CPU) 상황에서 Socket read hang ==== | ||
| + | * [[https:// | ||
| + | |||
| + | |||