database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
ㆍDB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
DB2 Q&A 862 게시물 읽기
No. 862
db2 agent가 latch(latchDirtyPoolsEntry)를 물고있다라는 의미?
작성자
db2man
작성일
2005-10-21 14:02
조회수
6,358

제가 알기론 latch는 플리플롭과 유사한 것으로 알고 있는데 결국

메모리와 같은 역할을 한다고 들었습니다.

그럼 에이젼트가 메모리를 해제 하고 있지 않다는 의미인가여?

위와 같은 상황이 생긴건 db2logts가 활성 중이어서라고 하네요.

그리고 db2logts가 비활성 이면 db2 callstack을 발생시키라는데

정확히 무슨 의미인지?

APAR number는 IY71448입니다.

 

이 글에 대한 댓글이 총 2건 있습니다.

db2 program error에 대해서 알기는 쉽지 않습니다. ^^

 

APAR number IY71448의 내용은 다음과 같습니다.

IY71448: Instance hang due to an agent holding latchDirtyPoolsEntry and waiting for db2logts to service requests

 

If a DB2 agent is holding a latch (latchDirtyPoolsEntry) and is
waiting on the db2logts daemon, the DB2 instance may hang if
db2logts encountered a "file sharing violation" and shut down.

중간 생략.....

and the DB2 instance seems to be hanging, then you should check
and see if the db2logts is still running or not using the "ps"
command. If it is not running, then you should generate DB2
callstacks.

 

db2에서 latch 의미는 다음과 같습니다.

래치(latch)
동시 이벤트나 시스템 자원의 사용을 제어하기 위한 DB2 Universal Database 내부 메커니즘.

 

그리고 db2logts 프로세스는 다음과 같은 역할을 합니다.

db2logts : Process used for collecting historical information about which logs are active when a table space is modified. This information is recorded in the DB2TSCHG.HIS file in the database directory. It is used to speed up table space rollforward recovery by enabling the skipping of log files that are not needed for the rollforward operation.

 

db2logts가 동작중이지 않으면 db2 callstacks을 생성시키라는 말은

db2 프로세스에 대한 트랩파일을 생성시키라는 말 같습니다.

db2_call_stack
UNIX 기반 플랫폼에서 모든 데이터베이스 파티션 서버에서 실행 중인 프로세스가 syslog에 call traceback을 작성하게 합니다.

 

이 오류는 리커버리 중에 발생한것 같네요. 그리고 디폴트가 db2logts를 disable하는 옵션이어서 발생할것 같지는 않습니다. ㅎㅎ

그리고 위의 오류는 v8 Fixpack10에서 수정되었습니다. ^^

 

 

 

 

 


 

 

 

 

김동주님이 2005-10-22 02:34에 작성한 댓글입니다. Edit

아 그렇군요!

감사합니다.

 

db2man님이 2005-10-22 20:48에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
865솔라리에서 pkgadd로 DB2설치 방법? [1]
db2man
2005-10-24
5399
864쿼리문 질문입니다...ㅡㅡ^ [3]
김종진
2005-10-23
7188
863DB2 의 데이터를 개행 하는 방법은 ??? [4]
자바왕
2005-10-22
8132
862db2 agent가 latch(latchDirtyPoolsEntry)를 물고있다라는 의미? [2]
db2man
2005-10-21
6358
859다음 sql문장 관련 질문입니다. [2]
궁금이
2005-10-20
5735
858DB2 Crash with ADM0503C error [1]
Hyung
2005-10-20
5793
857dbm cfg 의 NUM_POOLAGENTS 대해서? [2]
db2man
2005-10-19
5423
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.024초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다