From a4e0e3d21aa7fbb944a559a03d90fd536633f414 Mon Sep 17 00:00:00 2001 From: Thomas Brittain Date: Thu, 16 Jun 2022 09:11:59 -0500 Subject: [PATCH 1/4] Update looker11 Ensures --ssl-provided-externally-by does not fail due to using HTTPS. This enables SSL termination at the load balancer. --- startup_scripts/looker11 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_scripts/looker11 b/startup_scripts/looker11 index 61e1cc3..0e9731b 100755 --- a/startup_scripts/looker11 +++ b/startup_scripts/looker11 @@ -40,7 +40,7 @@ fi # check if --no-ssl is specified in LOOKERARGS and set protocol accordingly PROTOCOL="" -echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl" +echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by" if [ $? -eq 0 ] then PROTOCOL='http' From e9de81a99603b86cdf9f47d6ee88218d4e52bbc7 Mon Sep 17 00:00:00 2001 From: Thomas Brittain Date: Thu, 16 Jun 2022 12:23:20 -0500 Subject: [PATCH 2/4] Update looker Ensures --ssl-provided-externally-by does not fail due to using HTTPS. This enables SSL termination at the load balancer. --- startup_scripts/looker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_scripts/looker b/startup_scripts/looker index 6053146..7deba38 100755 --- a/startup_scripts/looker +++ b/startup_scripts/looker @@ -24,7 +24,7 @@ fi # check if --no-ssl is specified in LOOKERARGS and set protocol accordingly PROTOCOL="" -echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl" +echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by" if [ $? -eq 0 ] then PROTOCOL='http' From 7e68307237d68b48baca9253f4d1001d3aa492e2 Mon Sep 17 00:00:00 2001 From: Thomas Brittain Date: Thu, 16 Jun 2022 12:25:28 -0500 Subject: [PATCH 3/4] Update looker_mac --- startup_scripts/looker_mac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_scripts/looker_mac b/startup_scripts/looker_mac index 92bdd84..d407c78 100755 --- a/startup_scripts/looker_mac +++ b/startup_scripts/looker_mac @@ -39,7 +39,7 @@ fi PROTOCOL="" LOOKERPORT=${LOOKERPORT:-"9999"} -echo "${LOOKERARGS}" | grep -q "\-\-no\-ssl" +echo "${LOOKERARGS}" | grep -e "\-\-no\-ssl" -e "\-\-ssl-provided-externally-by" if [ $? -eq 0 ] then PROTOCOL='http' From 2e54af0621c866c75672c16e00867a76659b2c4c Mon Sep 17 00:00:00 2001 From: Thomas Brittain Date: Tue, 21 Feb 2023 15:34:42 -0600 Subject: [PATCH 4/4] Update looker11 Upped the available memory to JVM from 60% to 80% and raised METAMEM to 2.8gb. --- startup_scripts/looker11 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup_scripts/looker11 b/startup_scripts/looker11 index 0e9731b..49d4f0e 100755 --- a/startup_scripts/looker11 +++ b/startup_scripts/looker11 @@ -16,9 +16,9 @@ cd $HOME/looker # set your java memory- there should be over 1.5G of system memory # left to run the OS MEM=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'` -JM=`expr $MEM \* 6 / 10` +JM=`expr $MEM \* 8 / 10` JAVAMEM="${JM}k" -METAMEM="800m" +METAMEM="2800m" # Extra Java startup args and Looker startup args. These can also be set in # a file named lookerstart.cfg