Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12874

Java 9+ GC Log files are being rotated every 20KB instead of every 20MB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.5
    • 7.6, 8.0
    • None
    • None

    Description

      The Java 9+ GC logging options in bin/solr and bin/solr.cmd specify a log rotation file size of 20000 which according to JEP 158 (https://openjdk.java.net/jeps/158) should be the "file size in kb" however when running Solr on Java 11 I'm seeing GC logs rotated every 20KB.

      Changing "filesize=20000" to "filesize=20M" fixes the problem for me under Linux.

      Attachments

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              tpunder Tim Underwood
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m