summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2019-04-19 18:38:39 +0000
committerWill Chandler <wchandler@gitlab.com>2019-04-19 18:38:39 +0000
commit8881fbedc650e7a79986f568461983e77ad6ce9c (patch)
tree6f0aef4926bdf662fe08216b888f8587553eaa17
parent9c2b37d7c4621f8284530565fa1d361b12502715 (diff)
downloadgitlab-ce-wchandler-update-strace-flags.tar.gz
Add `-yyy` flag to `strace` commandswchandler-update-strace-flags
-rw-r--r--doc/administration/troubleshooting/debug.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/troubleshooting/debug.md b/doc/administration/troubleshooting/debug.md
index 8f7280d5128..aaf46fac662 100644
--- a/doc/administration/troubleshooting/debug.md
+++ b/doc/administration/troubleshooting/debug.md
@@ -196,7 +196,7 @@ is a unicorn worker that is spinning via `top`. Try to use the `gdb`
techniques above. In addition, using `strace` may help isolate issues:
```shell
-strace -tt -T -f -s 1024 -p <PID of unicorn worker> -o /tmp/unicorn.txt
+strace -tt -T -f -yyy -s 1024 -p <PID of unicorn worker> -o /tmp/unicorn.txt
```
If you cannot isolate which Unicorn worker is the issue, try to run `strace`
@@ -204,7 +204,7 @@ on all the Unicorn workers to see where the `/internal/allowed` endpoint gets
stuck:
```shell
-ps auwx | grep unicorn | awk '{ print " -p " $2}' | xargs strace -tt -T -f -s 1024 -o /tmp/unicorn.txt
+ps auwx | grep unicorn | awk '{ print " -p " $2}' | xargs strace -tt -T -f -yyy -s 1024 -o /tmp/unicorn.txt
```
The output in `/tmp/unicorn.txt` may help diagnose the root cause.