This is an automated email from the ASF dual-hosted git repository.

ofuks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4e15862  Increased -Xmx java option
4e15862 is described below

commit 4e15862fb2bfb2d602887c2ed89485cad573ec3b
Author: Oleh Fuks <olegfuk...@gmail.com>
AuthorDate: Wed Jun 24 11:40:47 2020 +0300

    Increased -Xmx java option
---
 infrastructure-provisioning/src/ssn/templates/supervisor_svc.conf    | 4 ++--
 infrastructure-provisioning/terraform/bin/deploy/supervisor_svc.conf | 2 +-
 services/self-service/entrypoint.sh                                  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/templates/supervisor_svc.conf 
b/infrastructure-provisioning/src/ssn/templates/supervisor_svc.conf
index 6093617..0973175 100644
--- a/infrastructure-provisioning/src/ssn/templates/supervisor_svc.conf
+++ b/infrastructure-provisioning/src/ssn/templates/supervisor_svc.conf
@@ -25,7 +25,7 @@
 port = 127.0.0.1:9001
 
 [program:ui]
-command=java -Xmx1024M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
self-service/self-service.jar server WEB_CONFself-service.yml
+command=java -Xmx2048M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
self-service/self-service.jar server WEB_CONFself-service.yml
 directory=WEB_APP_DIR
 autorestart=true
 priority=20
@@ -45,7 +45,7 @@ environment=DLAB_CONF_DIR="WEB_CONF"
 ; environment=DLAB_CONF_DIR="WEB_CONF"
 
 [program:provserv]
-command=java -Xmx1024M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
provisioning-service/provisioning-service.jar server WEB_CONFprovisioning.yml
+command=java -Xmx2048M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
provisioning-service/provisioning-service.jar server WEB_CONFprovisioning.yml
 directory=WEB_APP_DIR
 autorestart=true
 priority=20
diff --git 
a/infrastructure-provisioning/terraform/bin/deploy/supervisor_svc.conf 
b/infrastructure-provisioning/terraform/bin/deploy/supervisor_svc.conf
index b170043..e51117a 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/supervisor_svc.conf
+++ b/infrastructure-provisioning/terraform/bin/deploy/supervisor_svc.conf
@@ -25,7 +25,7 @@
 port = 127.0.0.1:9001
 
 [program:provserv]
-command=java -Xmx1024M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
WEB_APP_DIR/provisioning-service.jar server WEB_CONFprovisioning.yml
+command=java -Xmx2048M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
WEB_APP_DIR/provisioning-service.jar server WEB_CONFprovisioning.yml
 directory=WEB_APP_DIR
 autorestart=true
 priority=20
diff --git a/services/self-service/entrypoint.sh 
b/services/self-service/entrypoint.sh
index f436c05..8c2f732 100644
--- a/services/self-service/entrypoint.sh
+++ b/services/self-service/entrypoint.sh
@@ -32,4 +32,4 @@ fi
 /usr/bin/openssl pkcs12 -export -in /root/step-certs/tls.crt -inkey 
/root/step-certs/tls.key -name ssn -out ssn.p12 -password 
pass:${SSN_KEYSTORE_PASSWORD}
 /usr/bin/keytool -importkeystore -srckeystore ssn.p12 -srcstoretype PKCS12 
-alias ssn -destkeystore /root/keys/ssn.keystore.jks -deststorepass 
"${SSN_KEYSTORE_PASSWORD}" -srcstorepass "${SSN_KEYSTORE_PASSWORD}"
 /usr/bin/keytool -keystore /root/keys/ssn.keystore.jks -alias step-ca -import 
-file /root/step-certs/ca.crt  -deststorepass "${SSN_KEYSTORE_PASSWORD}" 
-srcstorepass "${SSN_KEYSTORE_PASSWORD}" -noprompt
-/usr/bin/java -Xmx1024M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
-DDLAB_CONF_DIR=/root/ /root/self-service-2.2.jar server /root/self-service.yml
\ No newline at end of file
+/usr/bin/java -Xmx2048M -jar -Duser.timezone=UTC -Dfile.encoding=UTF-8 
-DDLAB_CONF_DIR=/root/ /root/self-service-2.2.jar server /root/self-service.yml
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to