티스토리 뷰
1. 개요
방화벽에서는 지정한 포트에 대해서 접근허용에 대한 세션을 지정한 시간동안만 저장해둔다.
설정한 시간동안 요청이 없을시에는 세션 내용을 삭제한다.
따라서 두 서버간에 커넥션 상태가 establish이어도 제대로 데이터 전송이 되질 않는다.
이런 문제를 방지하고자 WebtoB 는 지속적으로 JEUS WebContainer에게
WebtoB의 설정 파일에 정의된 "svrchktime" 변수 값의 간격으로 "ping"메시지를 보낸다.
Web Container는 여기에서 정의한 시간 간격으로 WebtoB의 ping을 체크한다.
WebtoB 의 ping 이 여기에서 설정된 시간 간격 내에서 발견되지 않으면 통신 연결은 끊어진 것으로
간주되어 다시 설정된다. 그러므로, 여기의 값은 "svrchktime"보다 커야 한다.
WebtoB보다 JEUS설정값을 2배로 설정한다.
2. WebtoB설정 (단위:초)
=====================================================
*SERVER
html SVGNAME = htmlg, MinProc = 1, MaxProc = 5
jsv1 SVGNAME = jsvg, MinProc = 1, MaxProc = 10, SvrChktime=300
=====================================================
3. JEUS 설정(단위:ms)
=====================================================
<webserver-connection>
<webtob-listener>
<listener-id>webtob1</listener-id>
<port>9900</port>
<hth-count>1</hth-count>
<webtob-address>xx.xx.xx.xx</webtob-address>
<registration-id>MyGroup</registration-id>
<read-timeout>600000</read-timeout> ---> ms 단위
<thread-pool>
<min>4</min>
<max>10</max>
<step>2</step>
<max-idle-time>30000</max-idle-time>
<max-wait-queue>4</max-wait-queue>
</thread-pool>
</webtob-listener>
</webserver-connection>
</context-group>
</web-container>
=====================================================
'WEB,WAS > Web Server' 카테고리의 다른 글
[Apache] Welcome-file 설정 (0) | 2010.07.17 |
---|---|
[Apache] 디렉토리 보안설정 (0) | 2010.07.17 |
[Apache] apachectl 명령어 (0) | 2010.07.16 |
[Apache] DSO(Dynamic Shared Object) 방식 (0) | 2010.07.16 |
[Apache] httpd.conf 한글 메뉴얼 (1) | 2010.07.12 |
[Linux] Apache설치 (0) | 2010.06.30 |
[WebtoB] MaxQCount 와 MaxQUrl (0) | 2010.03.04 |
[Apache] Virtual Host (Vhosts) (0) | 2010.01.28 |
- Total
- Today
- Yesterday
- rsync
- 리눅스
- 쓰레드덤프
- URL Encoding
- Config History
- Ansible
- openssl
- Playbook
- iTerm2
- vagrant
- 엔서블
- PostgreSQL
- Jenkins
- rundeck
- 파이프라인
- Docker
- groovy
- 젠킨스
- JVM
- 엔시블
- nginx
- ssl
- 데브옵스
- DevOps
- Password manager
- 플레이북
- Linux
- Shell Script
- Thread Dump
- Nexus
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |