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

olivier soyez commented on SOLR-1575:
-------------------------------------

We have around 50K cores with loadOnStart="false" and same issue to start the 
server.
It takes a very long time to start, and it is just the time taken for loading 
the config file listing the available solr cores : solr.xml.

To solve this, in the "load" function, I just replace the line 532 of 
CoreContainer.java (Apache Solr 4.0 release) from 
"p.setCoreProperties(readProperties(cfg, node));" to 
"p.setCoreProperties(readProperties(cfg, 
node.getParentNode().removeChild(node)));"

Now, it takes a few seconds to start the server

                
> loading solr.xml takes a lot of time when there are lot of cores
> ----------------------------------------------------------------
>
>                 Key: SOLR-1575
>                 URL: https://issues.apache.org/jira/browse/SOLR-1575
>             Project: Solr
>          Issue Type: Improvement
>          Components: multicore
>            Reporter: Noble Paul
>            Priority: Minor
>             Fix For: 1.5
>
>
> We have around 38K cores which takes up around 25 mins to start the server. 
> Keep in mind that no cores are started and this is the time taken for loading 
> the solr.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to