Last active
December 16, 2015 06:58
-
-
Save daemin-hwang/9de1eb68744fec70311f to your computer and use it in GitHub Desktop.
Apache MaxClient 산정 계산
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Max Client 기준을 어떻게 할까하다 아래처럼 계산해봤습니다. | |
Max Client 산정 기준 : (Total Memory – System Memory) * Swap Buffer Percent – Tomcat (Heap+Perm) Memory Size / Per Request | |
정확한 값은 아니지만 근사치로 추정. 시나리오상 아래의 조건을 충족시 , | |
예시: | |
- 서버 Memory : 4G | |
- 시스템 Agent류의 프로그램 메모리 : 200 M | |
- Swap 회피를 위한 메모리 공간 확보 : 0.8 | |
- Tomcat Heap Size : 1024M | |
- Tomcat Perm Size : 128M | |
- Per Request Memory : 2M | |
============================ | |
- MaxClient : 1024 (근사치) | |
참고 : | |
http://micol.tistory.com/269 | |
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-tunables.html | |
http://d2.naver.com/helloworld/132178 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
형석과장님이 정리해주신거.