FireBird Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
파이어버드 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
IBPhoenix
FireBird Main site
볼랜드포럼 광고 모집

FireBird Q&A
[1744] 일정시간 질의가 없으면 연결이 끈기는 현상이 있습니다. 부탁드립니다.
최훈 [toltol75] 1960 읽음    2006-01-04 15:47
윈도우NT에 FB2.0을 설치하였습니다. 그런데 일정시간 질의가 없으면 연결이 끈어지는 현상이 발생합니다.
그래서 FB문서를 찾아 보았더니 다음과 같은 내용이 있더군요.

# Normally, Firebird uses SO_KEEPALIVE socket option to keep track of
# active connections. If you do not like default 2-hour keepalive timeout
# then adjust your server OS settings appropriately. On UNIX-like OS's,
# modify contents of /proc/sys/net/ipv4/tcp_keepalive_*. On Windows,
# follow instrutions of this article:
# http://support.microsoft.com/default.aspx?kbid=140325

KEEPALIVE TIMEOUT이 2시간으로 되어 있어 OS의 설정값을 바꾸어야 한다는 것 같습니다.
그래서 http://support.microsoft.com/default.aspx?kbid=140325 에서 내용을 보았더니

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters에 다음의 KEY를
추가해주면 되는 것 같더군요.

KeepAliveTime
Key: Tcpip\Parameters
Value Type: REG_DWORD - Time in milliseconds
Valid Range: 1 - 0xFFFFFFFF
Default: 7,200,000 (two hours)
Description: The parameter controls how often TCP attempts to verify that an idle connection is still intact by sending a keep alive packet. If the remote system is still reachable and functioning, it will acknowledge the keep alive transmission. Keep alive packets are not sent by default. This feature may be enabled on a connection by an application.

DEFAULT 시간을 28,800,000로 늘려서 추가해 주었는데도 여전히 같은 현상이 일어납니다.

해결방법좀 알려주세요.

+ -

관련 글 리스트
1744 일정시간 질의가 없으면 연결이 끈기는 현상이 있습니다. 부탁드립니다. 최훈 1960 2006/01/04
1746     Re:일정시간 질의가 없으면 연결이 끈기는 현상이 있습니다. 부탁드립니다. 박지훈.임프 3526 2006/01/05
1748         Re:Re:감사합니다. 테스트후에 꼭 답변을 달도록 하겠습니다. 최훈 2290 2006/01/05
1752             Re:Re:Re:이것과는 상관이 없는가 봅니다. 최훈 2244 2006/01/07
1753                 Re:Re:Re:Re:이것과는 상관이 없는가 봅니다. 박지훈.임프 2607 2006/01/07
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.