Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-989

Deployment checklist contains tuning start parameters that won't work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Wrong Escalation
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      The 6.1 and 6.2 Deployment checklist contain the following fragment:
      (sorry for the messed up formatting in Jira. Emphasis is mine to demonstrate the questionable parameters)

      For most systems, Liferay recommends starting with at least the following VM parameters:
      -server -XX:NewSize=700m -XX:MaxNewSize=700m -Xms2048m -Xmx2048m -XX:MaxPermSize=200m
      -XX:SurvivorRatio=6 –XX:TargetSurvivorRatio=90 –XX:MaxTenuringThreshold=15
      On servers with 8+GB of memory, Liferay recommends starting your performance tuning with the following settings:
      -server -d64 -XX:NewSize=3072m -XX:MaxNewSize=3072m -Xms6144m -Xmx6144m -XX:PermSize=200m
      -XX:MaxPermSize=200m -XX:SurvivorRatio=65536 -XX:TargetSurvivorRatio=0 -XX:MaxTenuringThreshold=0
      -XX:+UseParNewGC -XX:ParallelGCThreads=16

      It seems that Liferay (plain) doesn't even start with 200M PermGen memory, so this is a bad starting point. In fact, the default bundle installation of tomcat comes with -XX:MaxPermSize=256m, so I'd rather see this as a starting point.

      The wording in the document is correct ("Liferay recommends starting with ..."), however, it's quite misleading to willingly start with something that doesn't even work.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package