aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/help/seek-help.en-us.md
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-12-03 21:04:32 +0800
committerGitHub <noreply@github.com>2021-12-03 21:04:32 +0800
commit5f22e2dfb2e3481ff7204566f8b9ec6688c36a1b (patch)
tree60e3ea06ec6570e53c55975bfd8fc6c600cf8605 /docs/content/doc/help/seek-help.en-us.md
parent6791aae8de53972e0eeb83dc22ce2020531a81c5 (diff)
downloadgitea-5f22e2dfb2e3481ff7204566f8b9ec6688c36a1b.tar.gz
gitea-5f22e2dfb2e3481ff7204566f8b9ec6688c36a1b.zip
Improve seek-help documents (#17895)
* Add pprof information to seek-help documents * Improve zh-cn and zh-tw documents
Diffstat (limited to 'docs/content/doc/help/seek-help.en-us.md')
-rw-r--r--docs/content/doc/help/seek-help.en-us.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/content/doc/help/seek-help.en-us.md b/docs/content/doc/help/seek-help.en-us.md
index 1c01f94ae8..8ffa80f154 100644
--- a/docs/content/doc/help/seek-help.en-us.md
+++ b/docs/content/doc/help/seek-help.en-us.md
@@ -22,10 +22,18 @@ menu:
1. Your `app.ini` (with any sensitive data scrubbed as necessary)
2. The `gitea.log` (and any other appropriate log files for the situation)
- * e.g. If the error is related to the database, the `xorm.log` might be helpful
+ * e.g. If the error is related to the database, the `xorm.log` might be helpful
3. Any error messages you are seeing
4. When possible, try to replicate the issue on [try.gitea.io](https://try.gitea.io) and include steps so that others can reproduce the issue.
- * This will greatly improve the chance that the root of the issue can be quickly discovered and resolved.
+ * This will greatly improve the chance that the root of the issue can be quickly discovered and resolved.
+5. If you meet slow/hanging/deadlock problems, please report the stack trace when the problem occurs:
+ 1. Enable pprof in `app.ini` and restart Gitea
+ ```
+ [server]
+ ENABLE_PPROF = true
+ ```
+ 2. Trigger the bug, when Gitea gets stuck, use curl or browser to visit: `http://127.0.0.1:6060/debug/pprof/goroutine?debug=1` (IP is `127.0.0.1` and port is `6060`)
+ 3. Report the output (the stack trace doesn't contain sensitive data)
## Bugs
@@ -33,4 +41,4 @@ If you found a bug, please create an [issue on GitHub](https://github.com/go-git
## Chinese Support
-Support for the Chinese language is provided at [Our discourse](https://discourse.gitea.io/c/5-category/5).
+Support for the Chinese language is provided at [Our discourse](https://discourse.gitea.io/c/5-category/5) or QQ Group 328432459.