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:14:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hongxu Ma updated SOLR-15104:
-----------------------------
    Description: 
When restarting 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.

 

  was:
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.

 


> 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
>            Priority: Minor
>
> When restarting 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