aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase/src/common-env.sh
Commit message (Collapse)AuthorAgeFilesLines
* Rename script-utils -> vespa-wrapperMartin Polden2023-02-061-2/+2
|
* Upgrade to gcc 12Henning Baldersheim2023-01-191-1/+1
|
* Send limit warnings to stderrEirk Nygaard2022-11-031-3/+3
|
* Revert "Jonmv/revert startup script changes MERGEOK"Eirik Nygaard2022-10-241-17/+36
|
* Revert "Merge pull request #24519 from ↵jonmv2022-10-241-36/+17
| | | | | | | vespa-engine/ean/remove-vespa-unprivileged" This reverts commit 1afef7d4676c17d70087aeb36df228faf7073afd, reversing changes made to 2dc4c6b58004d51af887c49760a98804803ab73f.
* Revert "Merge pull request #24543 from vespa-engine/ean/fix-ulimit-arg"jonmv2022-10-241-1/+1
| | | | | This reverts commit fa29e75a71b49fc3925349457bb43de03b6d60d8, reversing changes made to 67bba3a54687664a15998c60a50ec0bae55a30d3.
* Pass limit variable when changing ulimit for open filesEirik Nygaard2022-10-241-1/+1
|
* Support running Vespa in container as non-rootEirk Nygaard2022-10-211-17/+36
| | | | | | | | This removes the old VESPA_UNPRIVILEGED environment variable. Instead we use the old mechanisme if id of the user starting Vespa is root. If the container is started with a non-root user some sanity checking is done to either fail because wrong permissions are active, or warn the user for possibly too low limits.
* Reapply "replace two perl snippets with calls to script-utils"Arne Juul2022-09-011-22/+2
| | | | This reverts commit e6417d19767e080b4a668f84553df05adf13d1bf.
* Revert "replace two perl snippets with calls to script-utils"Harald Musum2022-08-301-2/+22
|
* replace two perl snippets with calls to script-utilsArne Juul2022-08-291-22/+2
|
* Keep local variables local and check if ↵Henning Baldersheim2022-06-161-12/+11
| | | | /sys/kernel/mm/transparent_hugepage/hpage_pmd_size exists.
* Use /sys/kernel/mm/transparent_hugepage/hpage_pmd_size for checking size of ↵Henning Baldersheim2022-06-161-24/+10
| | | | transparent hugepages.
* Also consider heap overrides when controlling THP for jvms.Henning Baldersheim2022-06-161-0/+31
|
* Only enable -XX:+UseTransparentHugePages if heap is at least 2x hugepage size.Henning Baldersheim2022-06-081-0/+29
|
* Give the method for setting up transparent huge pages a better name.Henning Baldersheim2022-05-101-1/+1
|
* Do not override if VESPA_TIMER_HZ has been set alreadyHenning Baldersheim2022-03-081-4/+8
|
* Do not echo, just keep as a comment.Henning Baldersheim2022-03-081-1/+1
|
* Detect that we are running in docker-on-mac and automatically reduce timer ↵Henning Baldersheim2022-03-081-0/+10
| | | | | | | frequency due to expensive calls to sample time. This might reduce timeout accuracy from 1ms to 10ms, but that is fine for development. docker-on-mac will never be supported as production environment.
* move fallback from default-env.txtArne H Juul2022-02-011-0/+1
|
* no need for inner quotes hereArne H Juul2022-02-011-6/+6
|
* Use quotes to preserve space separated listsHenning Baldersheim2022-02-011-6/+6
|
* Switch to gcc-toolset-11 and devtoolset-11.Tor Egge2022-01-101-1/+1
|
* Darwin does not have numactl command.Tor Egge2021-12-111-0/+4
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Don't log warning message on stdout.Arnstein Ressem2021-08-231-1/+0
|
* Need to try to execute numactl to verify that we have permissions to set the ↵Arnstein Ressem2021-08-231-5/+7
| | | | memory policy.
* Add fix for wrong variable name.Arnstein Ressem2021-08-231-1/+1
|
* Revert "Revert "Reapply "Fail Vespa startup if no numactl ."""Arnstein Ressem2021-08-231-0/+27
|
* Revert "Reapply "Fail Vespa startup if no numactl .""Arnstein Ressem2021-08-211-27/+0
|
* Revert "fix variable name typo"Arnstein Ressem2021-08-211-1/+1
|
* fix variable name typoArne Juul2021-08-211-1/+1
|
* Revert "Revert "Fail Vespa startup if no numactl .""Arnstein Ressem2021-08-201-0/+27
|
* Revert "Fail Vespa startup if no numactl ."Arnstein Ressem2021-08-201-27/+0
|
* Exit with error with no numactl. Use numactl if NUMA nodes are available and ↵Arnstein Ressem2021-08-191-0/+27
| | | | we have permissions to use it.
* try using pstack from gcc-toolset-10 if availableArne Juul2021-08-021-0/+3
|
* GC unused env variablesHarald Musum2021-03-151-2/+0
|
* Do not support vespa_base.<setting> anymoreHarald Musum2020-10-301-2/+0
| | | | Undocumented, has not been used for many years
* Use documented environment variable for validation scriptHarald Musum2020-10-301-1/+1
|
* Revert "Enable glibc lock elision."Henning Baldersheim2020-04-181-2/+0
|
* Merge pull request #4422 from vespa-engine/balder/enable-glibc-lock-elisionHenning Baldersheim2020-04-181-0/+2
|\ | | | | Enable glibc lock elision.
| * Enable glibc lock elision.Henning Baldersheim2017-12-121-0/+2
| | | | | | | | See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.4_release_notes/new_features_compiler_and_tools
* | Use old style expr syntax.Tor Egge2020-02-121-1/+1
| |
* | Add local/maven/bin to PATH for Vespa applications, if it existsHåkon Hallingstad2019-08-221-0/+2
| |
* | Preserve PATH for Vespa servicesHåkon Hallingstad2019-08-161-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | common-env.sh sets PATH, instead of adding to it. This means e.g. binaries reachable via PATH, but not in these whitelisted locations, are lost. For our tester application we have a custom image containing a custom maven installation, reachable with the PATH. The effect of setting PATH seems to have been to add VESPA_HOME/bin[64] only. To ensure all programs reachable with the earlier code, is still reachable after this code change, all earlier paths are prepended to PATH.
* | Directory for transparent hugepage kernel setting has changed between RHEL 6 ↵Arnstein Ressem2019-05-281-2/+9
| | | | | | | | and 7. This fix will ensure correct settings for both platforms.
* | Honor JAVA_HOME even if java is in PATHHåkon Hallingstad2018-11-141-1/+1
| |
* | Install valgrind suppressions file.Tor Egge2018-08-011-1/+12
| |
* | Change new tests to use square bracket style.Tor Egge2018-03-131-1/+1
| | | | | | | | Collapse nested if statements.
* | Changes to allow unprivileged vespa.Tor Egge2018-03-121-0/+4
|/