You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by am...@apache.org on 2016/09/19 19:22:50 UTC
[4/5] incubator-trafodion git commit: Cores issues not fixed yet in
Trafodion core code
Cores issues not fixed yet in Trafodion core code
Installer must change back to max 15 CPU
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/5c1676b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/5c1676b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/5c1676b3
Branch: refs/heads/master
Commit: 5c1676b31d7807966a447dfb359d3bb54283e528
Parents: ecde2b7
Author: Amanda Moran <am...@apache.com>
Authored: Wed Sep 14 18:10:30 2016 +0000
Committer: Amanda Moran <am...@apache.com>
Committed: Wed Sep 14 18:10:30 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/5c1676b3/install/installer/traf_sqconfig
----------------------------------------------------------------------
diff --git a/install/installer/traf_sqconfig b/install/installer/traf_sqconfig
index d90ac90..2065d49 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 "255" ]]; then
- cores="0-255"
+if [[ "$maxCores" -gt "15" ]]; then
+ cores="0-15"
fi
processors=$(lscpu | grep "Socket(s)" | awk '{print $2}')