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

Ferenczi Jim commented on SOLR-7319:
------------------------------------

Thanks [~elyograg]. We are big fans of your pages about the settings for Solr 
regarding the Garbage Collector. We changed a lot of our settings after reading 
your page and we are know happy with the GC performance in our setup. I guess 
that providing good defaults values for all use cases is almost impossible and 
that each deployment/use cases would need a round of testing to find optimal 
values (especially for the tenuring threshold and the size of the heap). Anyway 
I think that most of the Solr users would be happy to have default values 
optimized by Solr expert. For those who think that they can have better 
performance with other settings nothing prevent them to change those defaults 
;) My initial point was that the defaults options should not break any external 
tool accessing Solr especially if it prevents the user to monitor the GC with 
jstat.

> Workaround the "Four Month Bug" causing GC pause problems
> ---------------------------------------------------------
>
>                 Key: SOLR-7319
>                 URL: https://issues.apache.org/jira/browse/SOLR-7319
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 5.0
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>         Attachments: SOLR-7319.patch, SOLR-7319.patch, SOLR-7319.patch
>
>
> A twitter engineer found a bug in the JVM that contributes to GC pause 
> problems:
> http://www.evanjones.ca/jvm-mmap-pause.html
> Problem summary (in case the blog post disappears):  The JVM calculates 
> statistics on things like garbage collection and writes them to a file in the 
> temp directory using MMAP.  If there is a lot of other MMAP write activity, 
> which is precisely how Lucene accomplishes indexing and merging, it can 
> result in a GC pause because the mmap write to the temp file is delayed.
> We should implement the workaround in the solr start scripts (disable 
> creation of the mmap statistics tempfile) and document the impact in 
> CHANGES.txt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to