目前可以通过查看 stdout/stderr 的栈排查。
需要使用 lldb 看 core 文件。建议在 docker 镜像 su21/dotnet 内重现 然后用 镜像内的 lldb 以及符号排查。 SceneServer/SceneServer/debugcore 是一个看 coredump 的辅助脚本。
fs.file-max = 1000000
net.ipv4.tcp_max_syn_backlog = 3240000
net.core.somaxconn = 3240000
diff --git a/build/build_win.ninja.template b/build/build_win.ninja.template | |
index 3edfb6a4..0f8cb372 100644 | |
--- a/build/build_win.ninja.template | |
+++ b/build/build_win.ninja.template | |
@@ -1,12 +1,12 @@ | |
rule cc | |
- command = ninja -t msvc -- $cc /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out} | |
+ command = ninja -t msvc -- $cc /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out} /source-charset:utf-8 /execution-charset:utf-8 | |
description = CC ${out} | |
rspfile = ${out}.rsp |
package main | |
import ( | |
"log" | |
"github.com/gin-gonic/gin" | |
) | |
func main() { | |
engine := gin.Default() |