Git Product home page Git Product logo

Comments (5)

lbbniu avatar lbbniu commented on August 14, 2024

@ruanshudong tarsnode 是不是没有处理标准错误重定向

from tarsgo.

lbbniu avatar lbbniu commented on August 14, 2024

日志里面只有 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.

manchurio avatar manchurio commented on August 14, 2024

日志里面只有 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.

lbbniu avatar lbbniu commented on August 14, 2024

方便贴出 模板核心配置 和 tars_start.sh 内容吗?

from tarsgo.

lbbniu avatar lbbniu commented on August 14, 2024

配置
image
GC日志
image

没问题,先关闭了

from tarsgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.