IBM Support

[SOAR] Resilient-email.service の OOM エラーを解決する方法

How To


Summary

本ドキュメントでは、resilient-email.error ログに出力された OutOfMemory エラーを解決する方法についてご案内します。

Objective

/var/log/resilient-email.error ログに出力された次のエラーは OutOfMemoryError を示しています。
    JVMDUMP030W Cannot write dump to file //heapdump.20220604.233744.4241.0002.phd: Permission denied
    JVMDUMP032I JVM requested Heap dump using '/tmp/heapdump.<date-id>.phd' in response of an event
    JVMDUMP010I Heap dump written to /tmp/heapdump.<date-id>.phd.phd
    JVMDUMP030W Cannot write dump to file //heapdump.<date-id>.phd.phd: Permission denied
     
...
     
    Exception in thread "Camel (camel-1) thread #23428 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23424 - JmsConsumer[email-service.test-connection]" java/lang/OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError	at java/lang/ThreadGroup.uncaughtException (ThreadGroup.java:867)
    	at java/lang/ThreadGroup.uncaughtException (ThreadGroup.java:861)
    	at java/lang/Thread.uncaughtException (Thread.java:1341)
    Exception in thread "Camel (camel-1) thread #23434 - JmsConsumer[email-service.delete-connection]" 
    Exception in thread "Camel (camel-1) thread #23431 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23435 - JmsConsumer[email-service.create-connection]" Exception in thread "Camel (camel-1) thread #23437 - JmsConsumer[email-service.test-connection]" Exception in thread "Camel (camel-1) thread #23404 - JmsConsumer[email-service.test-connection]" java.lang.OutOfMemoryErrorjava/lang/OutOfMemoryError: Java heap space

Environment

全てのバージョン

Steps

次のコマンドを実行します。
sudo systemctl restart resilient-email
問題が解決しない場合は、下記の通り "resilient-email.service" のヒープ・サイズを増やすことをご検討ください。
/usr/share/co3/conf/email-server.properties 」内の「 emailJavaMaxHeap=<mb> 」を変更します。
デフォルトは 1024 MB です。

Document Location

Worldwide


本文書は、米国 IBM 社の資料を翻訳した参考文書です。翻訳元の文書は、Related Information の翻訳元 (英語) リンクよりご参照ください。

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z000000cvv5AAA","label":"Email"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEGM63","label":"IBM Security QRadar SOAR on Cloud"},"ARM Category":[{"code":"a8m0z000000cvv5AAA","label":"Email"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
02 November 2022

UID

ibm16833160