Changeset 168d688 for installer


Ignore:
Timestamp:
Apr 2, 2015 4:05:43 PM (6 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
f3b2eb6
Parents:
ade93ea
Message:

Disable JVM stats being written to file, to prevent long (up to ~400ms) pauses.

Location:
installer/resources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/portable/configs/wrapper.config

    rade93ea r168d688  
    1919wrapper.java.additional.5=-Di2p.dir.base=.
    2020wrapper.java.additional.5.stripquotes=TRUE
     21
     22# Prevent the JVM from exporting stats (and thereby causing hundreds of
     23# ms long pauses during GC)
     24wrapper.java.additional.6=-XX:+PerfDisableSharedMem
     25
    2126# PORTABLE installation:
    2227# uncomment the following
    23 wrapper.java.additional.6=-Di2p.dir.pid=logs
    24 wrapper.java.additional.6.stripquotes=TRUE
    25 wrapper.java.additional.7=-Di2p.dir.temp=tmp
     28wrapper.java.additional.7=-Di2p.dir.pid=logs
    2629wrapper.java.additional.7.stripquotes=TRUE
    27 wrapper.java.additional.8=-Di2p.dir.config=.
     30wrapper.java.additional.8=-Di2p.dir.temp=tmp
    2831wrapper.java.additional.8.stripquotes=TRUE
     32wrapper.java.additional.9=-Di2p.dir.config=.
     33wrapper.java.additional.9.stripquotes=TRUE
    2934
    3035# Uncomment this for better performance.
  • installer/resources/small/wrapper.config

    rade93ea r168d688  
    5959wrapper.java.additional.3=-Dorg.mortbay.util.FileResource.checkAliases=false
    6060wrapper.java.additional.4=-Dorg.mortbay.xml.XmlParser.NotValidating=true
     61
     62# Prevent the JVM from exporting stats (and thereby causing hundreds of
     63# ms long pauses during GC)
     64wrapper.java.additional.5=-XX:+PerfDisableSharedMem
    6165
    6266# Initial Java Heap Size (in MB)
  • installer/resources/wrapper.config

    rade93ea r168d688  
    8080wrapper.java.additional.4.stripquotes=TRUE
    8181
     82# Prevent the JVM from exporting stats (and thereby causing hundreds of
     83# ms long pauses during GC)
     84wrapper.java.additional.5=-XX:+PerfDisableSharedMem
     85
    8286# On some IPv6 enabled systems, I2P and other network-enabled java applications
    8387# may fail to start. For examples see
     
    8690# 1) "echo 0 > /proc/sys/net/ipv6/bindv6only" as root; or
    8791# 2) uncomment the next two lines:
    88 #wrapper.java.additional.5=-Djava.net.preferIPv4Stack=true
    89 #wrapper.java.additional.6=-Djava.net.preferIPv6Addresses=false
     92#wrapper.java.additional.6=-Djava.net.preferIPv4Stack=true
     93#wrapper.java.additional.7=-Djava.net.preferIPv6Addresses=false
    9094
    9195# Jetty says this is a security risk
     
    9498# somehow - not sure exactly but here's a clue:
    9599# org.mortbay.util.FileResource.setCheckAliases(false)
    96 # wrapper.java.additional.7=-Dorg.mortbay.util.FileResource.checkAliases=false
     100# wrapper.java.additional.8=-Dorg.mortbay.util.FileResource.checkAliases=false
    97101# PORTABLE installation:
    98102# uncomment the following
    99 #wrapper.java.additional.7=-Di2p.dir.pid="$INSTALL_PATH"
    100 #wrapper.java.additional.7.stripquotes=TRUE
    101 #wrapper.java.additional.8=-Di2p.dir.temp="$INSTALL_PATH"
     103#wrapper.java.additional.8=-Di2p.dir.pid="$INSTALL_PATH"
    102104#wrapper.java.additional.8.stripquotes=TRUE
    103 #wrapper.java.additional.9=-Di2p.dir.config="$INSTALL_PATH"
     105#wrapper.java.additional.9=-Di2p.dir.temp="$INSTALL_PATH"
    104106#wrapper.java.additional.9.stripquotes=TRUE
     107#wrapper.java.additional.10=-Di2p.dir.config="$INSTALL_PATH"
     108#wrapper.java.additional.10.stripquotes=TRUE
    105109#
    106110# Uncomment this for better performance.
Note: See TracChangeset for help on using the changeset viewer.