[ https://issues.apache.org/jira/browse/SOLR-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650900#comment-16650900 ]
Shawn Heisey commented on SOLR-12874: ------------------------------------- Is 20M properly interpreted by Java 8? If not, we'll need different options for different java versions. Sounds like there needs to be a bug filed against Java, because all of Oracle's documentation that I've been able to locate indicates that the number should be interpreted as kilobytes if a unit is not provided. > 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 > 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