summaryrefslogtreecommitdiffstats
path: root/container-disc/src/main/sh/vespa-start-container-daemon.sh
Commit message (Collapse)AuthorAgeFilesLines
* Set Java system property java.io.tmpdir to $VESPA_HOME/tmpHarald Musum2020-03-121-0/+1
|
* Use correct name of variable.Henning Baldersheim2020-02-201-1/+1
|
* Revert "Revert "Control -XX:CompressedClassSpaceSize jvm option.""Henning Baldersheim2020-02-201-3/+8
|
* Revert "Control -XX:CompressedClassSpaceSize jvm option."Bjørn Christian Seime2020-02-201-8/+3
|
* Control -XX:CompressedClassSpaceSize jvm option.Henning Baldersheim2020-02-201-3/+8
|
* Configure ZooKeeper log file handlerHarald Musum2020-01-131-3/+3
|
* Set error file pathValerij Fredriksen2020-01-091-0/+1
|
* Stop requiring at least 1 Gb heap when using heaps size as percentage of ↵Harald Musum2019-12-181-4/+1
| | | | | | | physical memory Make it easier to get this working for e.g. Docker containers with less memory
* Log a message about the misconfiguration.Henning Baldersheim2019-10-151-0/+1
|
* Add a safety against specifying a min heap size lager than max heap size.Henning Baldersheim2019-10-151-0/+5
|
* minheapsize -> minHeapsizeHenning Baldersheim2019-10-151-3/+3
|
* Add minheapsize as a controllable entity. Control it explicit and avoid ↵Henning Baldersheim2019-10-141-1/+3
| | | | using append of jvmargs which is intended for user specified overrides.
* VESPA_TOTAL_MEMORY_MB is not in use anymoreHarald Musum2019-10-111-9/+5
|
* Add ActiveProcessorCountHenning Baldersheim2019-08-201-1/+1
|
* Since Java 11 and docker are note the best of friends we will use nproc instead.Henning Baldersheim2019-08-201-0/+2
|
* Use hash insteadValerij Fredriksen2019-06-241-1/+1
|
* Get memory limit from cgroup if possible and is setValerij Fredriksen2019-06-221-0/+5
|
* Set -XX:ActiveProcessorCount option if set in configHarald Musum2019-01-211-0/+9
| | | | Use VESPA_CONTAINER_JVMARGS if set
* Open java.base/java.iogjoranv2019-01-211-0/+1
| | | | | .. to allow com.yahoo.io.NativeIO to use reflective access on java.io.FileDescriptor.fd
* nobody uses JSVC aka commons.daemon, remove support for itArne Juul2019-01-211-82/+0
|
* CMS is deprecated in JDK 9 and will be removed in a later releasegjoranv2019-01-211-1/+1
| | | | - See http://openjdk.java.net/jeps/291
* Open necessary packages to the unnamed modulegjoranv2019-01-211-0/+8
| | | | | | .. to avoid warnings due to Felix accessing non-public apis with reflection. + Show all "Illegal reflective access" warnings.
* Let the fallback be the old default.Henning Baldersheim2018-10-251-1/+1
|
* Setting NewRatio is not recommended for G1Bjørn Christian Seime2018-10-241-1/+1
| | | | | | From G1 doc: "Avoid explicitly setting young generation size with the -Xmn option or any or other related option such as -XX:NewRatio. Fixing the size of the young generation overrides the target pause-time goal."
* Use G1GC as defaultBjørn Christian Seime2018-10-241-1/+1
|
* Revert "Use G1GC as default"Bjørn Christian Seime2018-10-201-1/+1
|
* Setting NewRatio is not recommended for G1Bjørn Christian Seime2018-10-191-1/+1
| | | | | | From G1 doc: "Avoid explicitly setting young generation size with the -Xmn option or any or other related option such as -XX:NewRatio. Fixing the size of the young generation overrides the target pause-time goal."
* Use G1GC as defaultBjørn Christian Seime2018-10-191-1/+1
|
* Revert "Revert "Explicitly use legacy format option to vespa-get-config""Harald Musum2018-09-041-1/+1
|
* Revert "Explicitly use legacy format option to vespa-get-config"Arnstein Ressem2018-08-291-1/+1
|
* Explicitly use legacy format option to vespa-get-configHarald Musum2018-08-291-1/+1
|
* just exit on out of memoryArne Juul2018-07-181-2/+2
| | | | | | * asking java to fork 'kill -9 %p' will often fail with "os::fork_and_exec failed: Cannot allocate memory (12)" message. * instead, use a newish option (from JDK 8u92) to just exit
* Set MaxJavaStackTraceDepth to a value legal for all JVM versions.gjoranv2018-07-051-2/+2
| | | | - On JDK 9+, -1 is invalid, and 0 really means zero.
* Revert "Use RTMLocking"Harald Musum2017-12-121-2/+0
|
* Use RTMLockingHenning Baldersheim2017-12-121-0/+2
|
* The cost of preserving the framepointer is small enough to allow it being ↵Henning Baldersheim2017-09-271-0/+2
| | | | | | | default. Performance information benefits is significant and will over time counter the cost. Observed cost has been below the noise level in the 1% range.
* Use vespa-get-configHarald Musum2017-08-161-1/+1
|
* Use full path to getvespaconfigHarald Musum2017-08-161-1/+1
|
* VESPA_HOME should not end with / anymoreArne H Juul2017-06-171-16/+16
| | | | | * best practice for HOME-like env vars is to be just the name of the directory without trailing slash.
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Revert "Run extension script if exists"Bjørn Christian Seime2017-05-151-8/+0
| | | | This reverts commit 1e7efd7ddabb9fff21c9d76a2ff764bd7b740cd1.
* Run extension script if existsBjørn Christian Seime2017-05-081-0/+8
|
* Also change start container daemonHåkon Hallingstad2017-04-051-2/+2
|
* Only update jvm_heapsize if percentage has been setHåkon Hallingstad2016-10-051-16/+14
|
* Use jvm_heapsize for container's Java process if explicitly setHåkon Hallingstad2016-10-031-16/+15
| | | | | | | | | Also simplifies the logic a bit: - If jvm_heapsize has been set by model, use that - Otherwise, if jvm_heapSizeAsPercentageOfPhysicalMemory has been set, use that to calculate the heapsize. Takes into account that TOTAL_MEMORY_MB may have been set to override the size of the physical memory. - Otherwise, use 1536MB.
* Handle absent heapSizeAsPercentageOfPhysicalMemoryHåkon Hallingstad2016-09-281-2/+7
|