trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ama...@apache.org
Subject [3/4] incubator-trafodion git commit: [TRAFODION-2233] (Installer) Increased the number of cores limit to 256
Date Thu, 22 Sep 2016 22:36:47 GMT
[TRAFODION-2233] (Installer) Increased the number of cores limit to 256


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/fde31488
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/fde31488
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/fde31488

Branch: refs/heads/master
Commit: fde31488a857245a9166f6c7e12edd85630851e1
Parents: 3b45ca2
Author: Amanda Moran <amanda@apache.com>
Authored: Thu Sep 22 17:19:24 2016 +0000
Committer: Amanda Moran <amanda@apache.com>
Committed: Thu Sep 22 17:19:24 2016 +0000

----------------------------------------------------------------------
 install/installer/traf_sqconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/fde31488/install/installer/traf_sqconfig
----------------------------------------------------------------------
diff --git a/install/installer/traf_sqconfig b/install/installer/traf_sqconfig
index 2065d49..d90ac90 100755
--- a/install/installer/traf_sqconfig
+++ b/install/installer/traf_sqconfig
@@ -44,8 +44,8 @@ rm $sqconfig &> /dev/null
 cores=$(lscpu | grep "CPU(s) list" | awk '{print $4}' | sed -e "s@,@-@" )
 maxCores=`echo $cores | sed 's/.*\-//'`
 
-if [[ "$maxCores" -gt "15" ]]; then
-   cores="0-15"
+if [[ "$maxCores" -gt "255" ]]; then
+   cores="0-255"
 fi
 processors=$(lscpu | grep "Socket(s)" | awk '{print $2}')
 


Mime
View raw message