HP-UX
1751865 회원
5637 온라인
108782 솔루션
새 메시지

답변: Trc 파일이 계속 증가합니다. 서버를 Reboot 해야 적용이 되는것인지요.

 
박정규_1
비정기 기여자

Trc 파일이 계속 증가합니다. 서버를 Reboot 해야 적용이 되는것인지요.

안녕하세요. 항상 도움주셔서 감사합니다.

 

현재 11.31 을 사용중입니다.

 

Trc 파일이 계속 생성되어 파일시스템이 FULL 이 납니다.

 

고객이 아래와 같이 답변을 주셨는데. 서버를 Reboot 해야 적용이 되는것인지요.

 

----------------------------------

지난번 보내주신 trace 파일의 내용을 보면 15line에

Ioctl ASYNC_CONFIG error, errno = 1 라는 내용이 있습니다.

 

메일에 첨부한 SAP Note 798194 - HP-UX: Trace files with async I/O error 중

 

Solution

General options to avoid traces are described in the metalink documents

302801.1 and 382674.1. For more information, also see metalink document 139272.1.

For HP-UX, we recommend that you set the parameter DISK_ASYNCH_IO to FALSE if you use standard file systems.

Depending on the error number <err_no>, you can use the following solution approaches:

 

1. <err_no> = 1 (EPERM, "not owner")

Make sure that the DBA group has the MLOCK privilege:

o Execute "setprivgrp dba MLOCK" as root.

o Add "dba MLOCK" to the file /etc/privgroup. If the file does not yet exist, create it.

Note that as a consequence of this setting, the system retains the SGA

permanently in the memory and this may cause increased paging and

performance deteriorations in exceptional cases when memory is limited.

 

Notes의 Solution 처럼

root 계정으로

/etc/privgroup 생성하고

파일에 setprivgrp dba MLOCK 입력하였습니다만 여전히 trace 파일은 생성이 된다면

For detailed information about configuring asynchronous I/O and HP-UX, and if the problem persists, contact HP.

 

위의 작업 과정을 설명하시고 OS reboot 을 해야 적용이 되는 것인지를 문의해보시기 바랍니다.

 

감사합니다.

1 응답 1
이태곤
중학생

답변: Trc 파일이 계속 증가합니다. 서버를 Reboot 해야 적용이 되는것인지요.

async 설정하기

#/sbin/mknod /dev/async c 101 0x0

# chown oracle:dba /dev/async

# chmod 660 /dev/async

[Set privgroup]

# /usr/sbin/setprivgrp dba MLOCK
# vi /etc/privgroup

dba MLOCK

항목 삽입

# chown root:sys /etc/privgroup

# chmod 644 /etc/privgroup

[get privgroup]

# /usr/bin/getprivgrp dba

dba : MLOCK


-> getprivgrp 로 확인시 적용되었으면 재부팅 필요없습니다.