문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
nginx:performance [2015/02/04 20:03] kwon37xi |
nginx:performance [2021/01/19 09:45] kwon37xi |
||
---|---|---|---|
줄 9: | 줄 9: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== worker와 connection ===== | ===== worker와 connection ===== | ||
줄 16: | 줄 23: | ||
* **'' | * **'' | ||
* 총 접속 가능 클라이언트 갯수(MaxClients)는 '' | * 총 접속 가능 클라이언트 갯수(MaxClients)는 '' | ||
- | * Reverse Proxy 상태에서는 '' | + | * Reverse Proxy 상태에서는 '' |
- | * 이 값은 **'' | + | |
===== 운영체제 설정값 ===== | ===== 운영체제 설정값 ===== | ||
줄 46: | 줄 53: | ||
< | < | ||
location /images { | location /images { | ||
+ | access_log off; | ||
+ | } | ||
+ | |||
+ | 혹은 | ||
+ | |||
+ | location ~* \.(js|css|png|jpg|jpeg|gif|ico) { | ||
access_log off; | access_log off; | ||
} | } | ||
</ | </ | ||
- | ===== Kepp Alive 튜닝 ===== | + | ===== Keep Alive 튜닝 ===== |
- | * 해봐. | + | * [[web: |
+ | * keepalive를 무작정 선택하지 말고 성능 테스트를 해가며 조정해 볼 것. | ||
===== Disk IO 병목 ===== | ===== Disk IO 병목 ===== | ||
- | * [[http:// | + | * [[http:// |
| | ||
| | ||
줄 73: | 줄 87: | ||
* [[http:// | * [[http:// | ||
+ | ===== Local Port 를 못 열어서 프록시 못하는 문제 ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | <code sh> | ||
+ | $ echo 15000 64000 > / | ||
+ | </ | ||
+ | | ||