diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-01-10 14:38:33 +0100 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-01-10 14:40:43 +0100 |
commit | 817e52b48ee19530132c38697a9286e3d0589b21 (patch) | |
tree | 2d8dc78e3b0e2c12db15bb7e8b973c87520d6ccd /vespabase/src | |
parent | b28aadbeac85c8f40fece841fd387da946e058d7 (diff) |
always optimize
* don't behave differently when running via yinst versus not.
Diffstat (limited to 'vespabase/src')
-rwxr-xr-x | vespabase/src/common-env.sh | 3 | ||||
-rwxr-xr-x | vespabase/src/start-cbinaries.sh | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh index 37c2669e885..3e04b5b808c 100755 --- a/vespabase/src/common-env.sh +++ b/vespabase/src/common-env.sh @@ -142,9 +142,6 @@ consider_fallback VESPA_USE_NO_VESPAMALLOC $(get_var "no_vespamalloc_list") # export VESPA_USE_HUGEPAGES="yes" # fi -if [ -z "$YINST_RUNNING" ]; then - export VESPA_RUN_STANDALONE=true -fi fixlimits () { # number of open files: diff --git a/vespabase/src/start-cbinaries.sh b/vespabase/src/start-cbinaries.sh index 1809f889244..18742eebc5b 100755 --- a/vespabase/src/start-cbinaries.sh +++ b/vespabase/src/start-cbinaries.sh @@ -189,7 +189,7 @@ if [ "$VESPA_USE_VESPAMALLOC_DST" = "all" ]; then suf=vespa/malloc/libvespamallocdst16.so fi -if [[ ($no_valgrind || $use_callgrind) && -z $VESPA_RUN_STANDALONE ]]; then +if $no_valgrind || $use_callgrind; then for tryfile in $p64/$suf $p32/$suf $pre/$suf ; do if [ -f $tryfile ]; then LD_PRELOAD=$tryfile @@ -207,9 +207,7 @@ fi if $no_valgrind || ! which valgrind >/dev/null ; then # log_debug_message $0-bin $@ - if [ -z $VESPA_RUN_STANDALONE ]; then - ulimit -c unlimited - fi + ulimit -c unlimited if numactl --interleave all true &> /dev/null; then # We are allowed to use numactl if [ "$VESPA_AFFINITY_CPU_SOCKET" ]; then |