You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Hongxu Ma (Jira)" <ji...@apache.org> on 2021/01/25 07:13:00 UTC

[jira] [Created] (SOLR-15104) Restart solr will override the gc log

Hongxu Ma created SOLR-15104:
--------------------------------

             Summary: Restart solr will override the gc log
                 Key: SOLR-15104
                 URL: https://issues.apache.org/jira/browse/SOLR-15104
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Hongxu Ma


When restart Solr, it will override the previous java gc log.

This behavior is not friendly for debugging OOM, looks it is caused by the hard-code gc param (in bin/solr):

[https://github.com/apache/lucene-solr/blob/3e2fb59272f5b4d8106b3d8edf847f50bacd7a61/solr/bin/solr#L2031]

 

Refer other sys, I think add timestamp in default gc filename will be better.

https://issues.apache.org/jira/browse/HBASE-18274

https://issues.apache.org/jira/browse/CASSANDRA-2418

 

Hope it can be improved, thanks.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org