You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tim Underwood (JIRA)" <ji...@apache.org> on 2018/10/16 15:48:00 UTC

[jira] [Comment Edited] (SOLR-12874) Java 9+ GC Log files are being rotated every 20KB instead of every 20MB

    [ https://issues.apache.org/jira/browse/SOLR-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651861#comment-16651861 ] 

Tim Underwood edited comment on SOLR-12874 at 10/16/18 3:47 PM:
----------------------------------------------------------------

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 for 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?


was (Author: tpunder):
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org