You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by is...@apache.org on 2024/06/25 21:35:32 UTC

(solr) branch jira/solr-13350-fixes-9x created (now 8299cf3f9a6)

This is an automated email from the ASF dual-hosted git repository.

ishan pushed a change to branch jira/solr-13350-fixes-9x
in repository https://gitbox.apache.org/repos/asf/solr.git


      at 8299cf3f9a6 SOLR-13350: Removing the solr script nproc setting of searcher threads

This branch includes the following new commits:

     new 8299cf3f9a6 SOLR-13350: Removing the solr script nproc setting of searcher threads

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(solr) 01/01: SOLR-13350: Removing the solr script nproc setting of searcher threads

Posted by is...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ishan pushed a commit to branch jira/solr-13350-fixes-9x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 8299cf3f9a6763d1d728651ad3f2e53fa696a346
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Wed Jun 26 03:05:09 2024 +0530

    SOLR-13350: Removing the solr script nproc setting of searcher threads
---
 solr/bin/solr | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/solr/bin/solr b/solr/bin/solr
index 93c6741c346..698d996c0df 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1917,9 +1917,6 @@ if [ $# -gt 0 ]; then
   done
 fi
 
-# Setting number of threads for search
-if ! command -v nproc &> /dev/null; then echo "Couldn't determine number of CPUs, using default number of search threads"; else cpus=`nproc`; SCRIPT_SOLR_OPTS+="-Dsolr.searchThreads=$cpus"; fi
-
 # Default placement plugin
 if [[ -n "${SOLR_PLACEMENTPLUGIN_DEFAULT:-}" ]] ; then
   SCRIPT_SOLR_OPTS+=("-Dsolr.placementplugin.default=$SOLR_PLACEMENTPLUGIN_DEFAULT")