[ https://issues.apache.org/jira/browse/SOLR-14201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17020732#comment-17020732 ]
Vinh Le edited comment on SOLR-14201 at 1/22/20 6:47 AM: --------------------------------------------------------- Thanks [~cpoerschke] To reproduce this issue, just keep creating new collections {code:java} while true; do ./import.sh; sleep 10; done #import.sh #!/bin/bash -e HOST=http://localhost:8983/solr PREV_COLLECTION=$(http "$HOST/admin/collections?action=LISTALIASES" | jq -r ".aliases.SGFAS") COLLECTION="next_$(gdate +%H%M%S)" # COLLECTION="next_1029" echo "Create new collection = $COLLECTION" http POST "$HOST/admin/collections?action=CREATE&name=$COLLECTION&collection.configName=seafas&numShards=1" echo "Push data to new collection" cat docs.xml | http POST "$HOST/$COLLECTION/update?commitWithin=1000&overwrite=true&wt=json" "Content-Type: text/xml" echo "Optimize" http "$HOST/$COLLECTION/update?optimize=true&maxSegments=1&waitSearcher=false" echo "Update alias" http "$HOST/admin/collections?action=CREATEALIAS&collections=$COLLECTION&name=SGFAS" echo "Delete previous collection = $PREV_COLLECTION" http "$HOST/admin/collections?action=DELETE&name=$PREV_COLLECTION" {code} I also tried to remove all plugins, but the issue still persists. Classes.loaded keeps increasing. {code:java} ❯ http "http://localhost:8983/solr/admin/metrics" | jq '.metrics."solr.jvm"."classes.loaded"' 8428 ❯ http "http://localhost:8983/solr/admin/metrics" | jq '.metrics."solr.jvm"."classes.loaded"' 9323 {code} !image-2020-01-22-10-39-15-301.png|width=759,height=606! !image-2020-01-22-10-42-17-511.png! !image-2020-01-22-12-28-46-241.png! And VisualVM graphs !image-2020-01-22-14-45-52-730.png|width=966,height=677! I'm not really familiar with Java, but looks like this is related to finalizers. was (Author: vinhlh): Thanks [~cpoerschke] To reproduce this issue, just keep creating new collections {code:java} while true; do ./import.sh; sleep 10; done #import.sh #!/bin/bash -e HOST=http://localhost:8983/solr PREV_COLLECTION=$(http "$HOST/admin/collections?action=LISTALIASES" | jq -r ".aliases.SGFAS") COLLECTION="next_$(gdate +%H%M%S)" # COLLECTION="next_1029" echo "Create new collection = $COLLECTION" http POST "$HOST/admin/collections?action=CREATE&name=$COLLECTION&collection.configName=seafas&numShards=1" echo "Push data to new collection" cat docs.xml | http POST "$HOST/$COLLECTION/update?commitWithin=1000&overwrite=true&wt=json" "Content-Type: text/xml" echo "Optimize" http "$HOST/$COLLECTION/update?optimize=true&maxSegments=1&waitSearcher=false" echo "Update alias" http "$HOST/admin/collections?action=CREATEALIAS&collections=$COLLECTION&name=SGFAS" echo "Delete previous collection = $PREV_COLLECTION" http "$HOST/admin/collections?action=DELETE&name=$PREV_COLLECTION" {code} I also tried to remove all plugins, but the issue still persists. Classes.loaded keeps increasing. {code:java} ❯ http "http://localhost:8983/solr/admin/metrics" | jq '.metrics."solr.jvm"."classes.loaded"' 8428 ❯ http "http://localhost:8983/solr/admin/metrics" | jq '.metrics."solr.jvm"."classes.loaded"' 9323 {code} !image-2020-01-22-10-39-15-301.png|width=759,height=606! !image-2020-01-22-10-42-17-511.png! !image-2020-01-22-12-28-46-241.png! > 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 > > > [~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-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org