Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-19260

Setting values in /tomcat/bin/setenv.sh is being overridden by ctl.sh with ACS 5.2.2

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Not a bug
    • Affects Version/s: 5.2.2
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None
    • Bug Priority:
      Category 3
    • ACT Numbers:

      00952485

      Description

      [Summary]

      Customer found when they configured their memory settings in the setenv.sh file in Alfresco 5.2.2, the settings were being overridden by the ctl.sh file. I was able to confirm this in my own out of the box 5.2.2 installation on CentOS 7.

      [Steps to Reproduce]

      1. On out of the box install, edit the /tomcat/bin/setenv.sh file to set the xmx value to 4096. Default was 2048.
      2. Save and start Alfresco.
      3. Login to the Admin Console and confirm Maximum Memory (GB) shows 0.98 on the System Summary page.
      4. Download JMX Dump and find that there are two Xmx settings one of 1024 and one of 4096. 

      [Expected Behavior]

      Value should be 4096 when viewing the Admin Console Maximum Memory value in the System Summary page and only one value for Xmx setting of 4096 when viewing the JVM settings in JMX Dump.

       

      [Actual Behavior]

      The wrong value is shown in Admin Console System Summary page (see Image1.png). Two values for Xmx set in JMX Dump (see Image2.png).

        Attachments

        1. Image1.png
          Image1.png
          77 kB
        2. Image2.png
          Image2.png
          258 kB
        3. setenv-image.png
          setenv-image.png
          83 kB

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                spatel Satyan Patel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel