You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/11/16 11:11:36 UTC
[incubator-openwhisk] branch master updated: Create heap dump when
OOM exceptions occur (#2970)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 58967d7 Create heap dump when OOM exceptions occur (#2970)
58967d7 is described below
commit 58967d73045d7f9382f455d1fb49d1276d8dbf60
Author: James Dubee <jw...@us.ibm.com>
AuthorDate: Thu Nov 16 06:11:34 2017 -0500
Create heap dump when OOM exceptions occur (#2970)
---
ansible/roles/controller/tasks/deploy.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansible/roles/controller/tasks/deploy.yml b/ansible/roles/controller/tasks/deploy.yml
index bba75d7..7b3157f 100644
--- a/ansible/roles/controller/tasks/deploy.yml
+++ b/ansible/roles/controller/tasks/deploy.yml
@@ -40,7 +40,7 @@
restart_policy: "{{ docker.restart.policy }}"
hostname: "controller{{ groups['controllers'].index(inventory_hostname) }}"
env:
- "JAVA_OPTS": "-Xmx{{ controller.heap }} -XX:+CrashOnOutOfMemoryError -XX:+UseGCOverheadLimit -XX:ErrorFile=/logs/java_error.log"
+ "JAVA_OPTS": "-Xmx{{ controller.heap }} -XX:+CrashOnOutOfMemoryError -XX:+UseGCOverheadLimit -XX:ErrorFile=/logs/java_error.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/logs"
"CONTROLLER_OPTS": "{{ controller.arguments }}"
"CONTROLLER_INSTANCES": "{{ controller.instances }}"
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].