Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4442

Stack size settings in cassandra-env.sh assume 64-bit x86

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Normal

    Description

      The fix for CASSANDRA-4275 hard-codes a 160 KB stack size when using Java 7 on Linux. This assumes the Oracle 7u4 JVM on 64-bit x86. For systems like 32-bit ARM, this size is excessive (the minimum for 7u4 on ARM is 60-64 KB). Also, the minimum allowed value is version-dependent and is calculated dynamically by the JVM on startup based on Linux parameters that can also change. A better approach would be to query the JVM for the minimum stack size.

      Attachments

        Issue Links

          Activity

            People

              scurrilous Trevor Robinson
              scurrilous Trevor Robinson
              Trevor Robinson
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: