summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2016-06-01 14:44:29 -0500
committerDrew Blessing <drew@gitlab.com>2016-06-01 14:44:29 -0500
commit91496a09656948e713910a05f1c49417b628c26c (patch)
tree93b1c7c6978ceaba9f827574703be1d4341784f9
parente9bb895b5ac639bcb4166b23b796566f0320741a (diff)
downloadgitlab-ce-91496a09656948e713910a05f1c49417b628c26c.tar.gz
Add gdb detach instructions
-rw-r--r--doc/administration/troubleshooting/sidekiq.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/administration/troubleshooting/sidekiq.md b/doc/administration/troubleshooting/sidekiq.md
index 134a7583762..a776cd3f05e 100644
--- a/doc/administration/troubleshooting/sidekiq.md
+++ b/doc/administration/troubleshooting/sidekiq.md
@@ -150,6 +150,14 @@ To output a backtrace from all threads at once:
apply all thread bt
```
+Once you're done debugging with `gdb`, be sure to detach from the process and
+exit:
+
+```
+detach
+exit
+```
+
## Check for blocking queries
Sometimes the speed at which Sidekiq processes jobs can be so fast that it can