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 2022/11/03 00:02:30 UTC
[solr] branch jira/solr-16414-investigate-slowdown created (now 43071c5eca8)
This is an automated email from the ASF dual-hosted git repository.
ishan pushed a change to branch jira/solr-16414-investigate-slowdown
in repository https://gitbox.apache.org/repos/asf/solr.git
at 43071c5eca8 Thread dump on disk when killed during stop
This branch includes the following new commits:
new 43071c5eca8 Thread dump on disk when killed during stop
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: Thread dump on disk when killed during stop
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-16414-investigate-slowdown
in repository https://gitbox.apache.org/repos/asf/solr.git
commit 43071c5eca8d5082b831b973652bf2e2b7984469
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Thu Nov 3 05:32:08 2022 +0530
Thread dump on disk when killed during stop
---
solr/bin/solr | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/bin/solr b/solr/bin/solr
index 83b41e9b58d..cc5bd87ffd9 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -878,10 +878,10 @@ function stop_solr() {
if [[ "${STAT:-Z}" != "Z" ]]; then
if [ -n "{$JSTACK:-}" ]; then
echo -e "Solr process $SOLR_PID is still running; jstacking it now."
- $JSTACK $SOLR_PID
+ $JSTACK $SOLR_PID > $SOLR_PID_DIR/solr-threaddump.txt
elif [ "$JATTACH" != "" ]; then
echo -e "Solr process $SOLR_PID is still running; jattach threaddumping it now."
- $JATTACH $SOLR_PID threaddump
+ $JATTACH $SOLR_PID threaddump > $SOLR_PID_DIR/solr-threaddump.txt
fi
echo -e "Solr process $SOLR_PID is still running; forcefully killing it now."
kill -9 $SOLR_PID