본문 바로가기
오라클/Coherence

[COH] Oracle Coherence Coh*.tmp files in /tmp Directory

by sangyeon 2021. 8. 2.
728x90

Oracle Coherence 12.2.1.0.0 이후 버전에서 기본 설정 시 반드시 확인해야 하는 부분이다.

 

오라클 코히런스 12.2.1.0.0 이후 버전에서는

Cache Data 혹은 Grid Data 저장 시 사용되는 temporary 파일을 /tmp 영역에 coh*.tmp 형식으로 생성한다.

-> 그렇기 때문에 코히런스 서버 기동 중에 coh*.tmp 형식의 파일은 절대로 삭제하면 안된다.

 

* 오라클 문서 참조

Coherence Cluster Federation Service Nodes Creating Coh*.tmp Files In /tmp Directory, why? ( Doc ID 2302490.1 )

 

Coherence 12c를 사용하는 사이트 중, /tmp 디렉토리를 default로 사용하는 경우 종종 /tmp 영역의 Disk Full 문제로 한 런타임 이슈가 발생할 수 있기 때문에 아래와 같이 runtime.xml 파일에 tmp 경로를 지정해주는 것이 안정적인운영에 도움을 줄 수 있다.

 

오라클 코히런스 기동 시, override하는 runtime.xml 파일

<?xml version='1.0'?>
<coherence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
  xsi:schemaLocation="http://xmlns.oracle.com/coherence/
  coherence-operational-config coherence-operational-config.xsd">
  <cluster-config>
     <journaling-config>
        <flashjournal-manager>
           <directory>/home/coherence/coh12213/coherence/tmp</directory>
        </flashjournal-manager>
     </journaling-config>
  </cluster-config>
</coherence>

 

12c 부터는 위와 같이 반드시 tmp를 기본 /tmp가 아닌 사용자 정의를 통하여 Disk Full 문제가 없도록 운영하는 것이 중요!!!

728x90