Hello,

Try using "coreLoadThreads" in solr.xml. Set the value to how many 
cores/replicas you want to load at a time during Solr startup.

Make sure to have enough CPU/RAM to load n number of cores at a time.


https://solr.apache.org/guide/solr/latest/configuration-guide/configuring-solr-xml.html


Best Regards,

Prafull Prakash Patil

PLM Operations, Pune

Mobile : +917032529590




________________________________
From: asjo@tullinup <asjo@tullinup> on behalf of Adam Sjøgren via users 
<[email protected]>
Sent: Saturday, June 13, 2026 7:19 PM
To: [email protected] <[email protected]>
Cc: Adam Sjøgren <[email protected]>
Subject: Restricting simultaneous recovery of multiple shards

  Hi,


When multiple shards need recovery (eg after a Solr instance has
crashed after running out of memory) they all start recovering at the
same time.

Is there a way to tell Solr to only recover a set maximum number of
shards at a time?

Our Solr machines are a little squeezed for storage currently, and
while we wait for more (and curse at the AI companies' effect on nvme
prices), it would be very convenient if I could say "recover at most 3
shards at a time", to avoid running out of storage during full-copy
recovery.

Or even better, if I could say: "recover at most 3 shards using
full-copy at the same time".

We are currently employing a workaround where other replicas are
temporarily moved to a different disk during recovery, but it's not a
workaround I am very comfortable with.


  Best regards,

    Adam

--
 "Most regrets I've gathered came from caving in            Adam Sjøgren
  Darkness has a way of shedding light on me           [email protected]
  Seems the more I'm lost the more I'm feeling free"


**************************************************************************************
This e-mail and any attachments thereto may contain confidential information 
and/or information protected by intellectual property rights for the exclusive 
attention of the intended addressees named above. If you have received this 
transmission in error, please immediately notify the sender by return e-mail 
and delete this message and its attachments. Unauthorized use, copying or 
further full or partial distribution of this e-mail or its contents is 
prohibited.
**************************************************************************************

Reply via email to