'WEBCENTER'에 해당되는 글 1건

  1. 2014.01.29 Automation Service 의 Heap 메모리 늘리기

Automation Service 의 Heap 메모리 늘리기

View Comments

드물지만, 대량 데이터를 처리해야 하는 경우 WCI 의 자동화 서비스 (또는 Automation Service) 가 이상 현상을 보이는 경우가 있다. 

이런 경우 자동화 서비스가 OOM 상태로 빠져서 아무 응답도 하지 않는 경우가 많은데, 이럴때는 Heap 메모리를 늘려서 자동화 서비스를 재시작 하면 문제가 해결되기도 한다.

다음은 자동화서비스의 Heap 을 늘리는 방법을 설명 한다. (기준은 WCI 10.3.3)


1. ~wci/settings/configuration.xml 파일을 편집기로 열어서, 다음 영역을 찾는다

<component name="automation:server" type="http://www.plumtree.com/config/component/types/automation">

2. 해당 영역에는 자동화 서버에 대한 jvm 구성들이 나열 되어 있는데, 자동화 서비스가 동작하는 플랫폼에 맞는 곳의 옵션을 수정한다.

<setting name="automation-server:jvm-aix">
    <value xsi:type="xsd:string">-server -Xms32m -Xmx512m</value>
</setting>

3. configuration.xml 을 저장한다.

4. ~wci/ptportal/10.3.3/bin/automationserverd.sh 를 편집기로 열어서, 다음 영역을 찾는다.

rem default settings:
set JVM_1=-Xms16m -Xmx256m -Xgc:singlepar

5. 역시 -Xms 와 -Xmx 값을 적당히 높여서 저장한다.

6. ~wci/ptportal/10.3.3/bin/automationserverd.sh restart 등의 명령으로 자동화 서비스를 재시작 한다. 

Comments (+add yours?)

Tracbacks (+view to the desc.)

Newer Entries Older Entries