You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2020/02/28 20:09:00 UTC

[jira] [Commented] (SOLR-14201) some SolrCore are not released after being removed

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

Christine Poerschke commented on SOLR-14201:
--------------------------------------------

Thanks [~vinhlh] for narrowing down the issue, eliminating both the optimize and the aliasing as factors, leaving just "remove the previous collection after creating a new one" as the scenario!

I wonder if things might be narrowed down further. So we observe that {{SolrCore}} objects are not being released after removal.
 * possibility 1: collection 1's SolrCore is not released because before the removal of collection 1 we created collection 2
 * possibility 2: collection 2's SolrCore is not released after removal (even if no subsequent collection 3 is ever created)
 * possibility 3: collection 1's SolrCore is not released (and there never was any other collection 0 previously or a collection 2 subsequently)
 * possibility 4: something else

I notice that your image-2020-01-22-10-42-17-511.png seems to be from some sort of profiler ... might it help narrow down the possibilities above and/or give insight into what the {{SolrCore$$Lambda$123}} style objects shown are?

Or perhaps a shorter way of what I'm trying to say is: if there is only ever one collection and it is removed then does the SolrCore leak happen too and can we gain insight into the objects and there relationships via the profiler.

Does that narrative kind of make sense? Memory leaks are always intriguing to debug :)

> some SolrCore are not released after being removed
> --------------------------------------------------
>
>                 Key: SOLR-14201
>                 URL: https://issues.apache.org/jira/browse/SOLR-14201
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Christine Poerschke
>            Priority: Major
>         Attachments: image-2020-01-22-10-39-15-301.png, image-2020-01-22-10-42-17-511.png, image-2020-01-22-12-28-46-241.png, image-2020-01-22-14-45-52-730.png, image-2020-01-28-16-17-44-030.png, image-2020-01-28-16-19-43-760.png, image-2020-01-28-16-20-50-709.png, image-2020-01-28-16-59-51-813.png
>
>
> [~vinhlh] reported in SOLR-10506 (affecting 6.5 with fixes in 6.6.6 and 7.0):
> bq. In 7.7.2, some SolrCore still are not released after being removed.
> https://issues.apache.org/jira/secure/attachment/12991357/image-2020-01-20-14-51-26-411.png
> Starting this ticket for a separate investigation and fix. A next investigative step could be to try and reproduce the issue on the latest 8.x release.
>   
>   
>   



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