[ https://issues.apache.org/jira/browse/SOLR-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651861#comment-16651861 ]
Tim Underwood commented on SOLR-12874: -------------------------------------- I just verified 2 things on both Linux and OS X: # "filesize=20M" syntax works on Java 9, Java 10 and Java 11 # "filesize=20000" is treated at 20,000 bytes on Java 9, Java 10 and Java 11 I have NOT tested on Windows. [~thetaphi] The PR includes changes both solr/bin/solr and solr/bin/solr.cmd so as far as I can tell it does keep the Windows version in sync. Am I missing something? > Java 9+ GC Log files are being rotated every 20KB instead of every 20MB > ----------------------------------------------------------------------- > > Key: SOLR-12874 > URL: https://issues.apache.org/jira/browse/SOLR-12874 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 7.5 > Reporter: Tim Underwood > Assignee: Uwe Schindler > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org