Comments (5)
@ruanshudong tarsnode 是不是没有处理标准错误重定向
from tarsgo.
日志里面只有 xxx redirect stdout and stderr to /usr/local/app/tars/app_log//XXX/xxx/XXX.xxx.log 启动时候没看到gc相关的日志, 但如果自己手工敲命令用 tars_start.sh 启动, 就可以在控制台看到gc日志
不知道tars是不是只是重定向了标准输出流, 没有重定向标准错物流(gc日志用标准错误流)
要怎样才能看到gc日志?
您这边是通过什么方式开启的GC相关日志? 确定开启成功了吗?
from tarsgo.
日志里面只有 xxx redirect stdout and stderr to /usr/local/app/tars/app_log//XXX/xxx/XXX.xxx.log 启动时候没看到gc相关的日志, 但如果自己手工敲命令用 tars_start.sh 启动, 就可以在控制台看到gc日志
不知道tars是不是只是重定向了标准输出流, 没有重定向标准错物流(gc日志用标准错误流)
要怎样才能看到gc日志?您这边是通过什么方式开启的GC相关日志? 确定开启成功了吗?
在tars web后台, 的模板那里配置上 env=GODEBUG=gctrace=1, 看到tars_start.sh 文件有这个环境变量. 在通过tarsweb启动进程
from tarsgo.
方便贴出 模板核心配置 和 tars_start.sh 内容吗?
from tarsgo.
没问题,先关闭了
from tarsgo.
Related Issues (20)
- tars2go编译报错”go fmt fail“ HOT 1
- protoc-gen-go-tarsrpc生成的rpc接口,参数和返回值,为何没有设置为结构的指针? HOT 4
- 客户端暴露一些常用的对外接口 HOT 2
- tarscpp client: version not correct
- Fix code scanning alert - Disabled TLS certificate check
- Support opentelemetry
- Support prometheus reporting indicators HOT 1
- Support polarismesh
- pb2tarsgo工具从pb2tarsgo变成protoc-gen-go-tarsrpc导致service与func名格式变化 HOT 3
- 重启服务存在多个进程问题 HOT 3
- Remove deprecated code
- 关于 gin 的使用 HOT 3
- TarsPython And TarsRust HOT 1
- "Code generated by .*" comment should appear before package clause
- 对于 optional 字段,可以有一个缺省值,缺省值在编码时默认不打包
- make 编译出错 HOT 3
- 这个项目还有在维护吗?examples里的样例大部分都编译不了 HOT 2
- tarsgo是否考虑支持自定义的标签? HOT 1
- How to solve the problem that the frame keeps reporting errors under win10? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tarsgo.