Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10631

Configuration directives in /etc/sysconfig/sentinel are not being applied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - March 27th 2019, Horizon - April 3rd 2019, Horizon - April 10th 2019

      Description

      Another problem observed in this environment is that the configuration directives in `/etc/sysconfig/sentinel` and not being applied:

      # cat /etc/sysconfig/sentinel | grep JAVA
      export JAVA_MIN_MEM=2g
      export JAVA_MAX_MEM=2g
      
      # ps ax | grep sent
       93593 pts/1    S      0:00 /bin/sh /opt/sentinel/bin/karaf server
       93750 pts/1    Sl   148:38 /usr/bin/java -Xms128M -Xmx512M -XX:+UnlockDiagnosticVMOptions -Dcom.sun.management.jmxremote -Djava.endorsed.dirs=/usr/java/jdk1.8.0_112/jre/jre/lib/endorsed:/usr/java/jdk1.8.0_112/jre/lib/endorsed:/opt/sentinel/lib/endorsed -Djava.ext.dirs=/usr/java/jdk1.8.0_112/jre/jre/lib/ext:/usr/java/jdk1.8.0_112/jre/lib/ext:/opt/sentinel/lib/ext -Dkaraf.instances=/opt/sentinel/instances -Dkaraf.home=/opt/sentinel -Dkaraf.base=/opt/sentinel -Dkaraf.data=/opt/sentinel/data -Dkaraf.etc=/opt/sentinel/etc -Dkaraf.log=/opt/sentinel/data/log -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir=/opt/sentinel/data/tmp -Djava.util.logging.config.file=/opt/sentinel/etc/java.util.logging.properties -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /opt/sentinel/lib/boot/jna-4.4.0.jar:/opt/sentinel/lib/boot/jna-platform-4.4.0.jar:/opt/sentinel/lib/boot/mina-core-2.0.16.jar:/opt/sentinel/lib/boot/org.apache.karaf.diagnostic.boot-4.2.3.jar:/opt/sentinel/lib/boot/org.apache.karaf.jaas.boot-4.2.3.jar:/opt/sentinel/lib/boot/org.apache.karaf.main-4.2.3.jar:/opt/sentinel/lib/boot/org.apache.karaf.specs.activator-4.2.3.jar:/opt/sentinel/lib/boot/org.osgi.core-6.0.0.jar org.apache.karaf.main.Main
      

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: