IT分销/经销WAS安装配置

native_stderr.log 文件大小如何控制

客户的native_stderr日志文件比较大,如果要删除的话,需要重启was进程,有无好的办法来控制这个文件大小的生成
参与8

7同行回答

star120120star120120技术支持DC
回复 2# vjnjjs If you specify and the -verbose:gc output is redirected to X files, each containing Y GC cycles.这个Y怎么理解和设置显示全部
回复 2# vjnjjs

If you specify and the -verbose:gc output is redirected to X files, each containing Y GC cycles.


这个Y怎么理解和设置收起
IT分销/经销 · 2013-12-24
浏览2434
jjsluckjjsluck软件开发工程师上海新炬
补充一点,如果设置了-Xverbosegclog参数,gc 日志就不会输出到native_stderr.log里面显示全部
补充一点,如果设置了-Xverbosegclog参数,gc 日志就不会输出到native_stderr.log里面收起
互联网服务 · 2013-12-24
浏览2471
star120120star120120技术支持DC
回复 4# hbhe0316 Native的也能设置?你的是什么版本?显示全部
回复 4# hbhe0316
Native的也能设置?你的是什么版本?收起
IT分销/经销 · 2013-12-24
浏览2399
hbhe0316hbhe0316数据库管理员IBM
管理控制台->记录和跟踪->server->JVM日志下有可以设置显示全部
管理控制台->记录和跟踪->server->JVM日志下有可以设置收起
IT分销/经销 · 2013-12-24
浏览2563
star120120star120120技术支持DC
回复 2# vjnjjs 谢谢!具体怎么设置呢?显示全部
回复 2# vjnjjs
谢谢!具体怎么设置呢?收起
IT分销/经销 · 2013-12-24
浏览2550
jjsluckjjsluck软件开发工程师上海新炬
同问,查了一下资料,并没有这方面参数设置,可以尝试在jvm 通用参数加入gc 日志输出到另外一个日志文件中。显示全部
同问,查了一下资料,并没有这方面参数设置,可以尝试在jvm 通用参数加入gc 日志输出到另外一个日志文件中。收起
互联网服务 · 2013-12-24
浏览2534
jjsluckjjsluck软件开发工程师上海新炬
可以这样设置,我在was 7上测试成功 verbosegc.20131224.174826.23712.txtjvm 通用参数加入 -Xverbosegclog:verbosegc.%Y%m%d.%H%M%S.%pid.txt具体参考如下资料:-Xverbosegclog[:[,,]] Causes -verbose:gc output to be written to the specified file. If the file cannot...显示全部
可以这样设置,我在was 7上测试成功 verbosegc.20131224.174826.23712.txt
jvm 通用参数加入 -Xverbosegclog:verbosegc.%Y%m%d.%H%M%S.%pid.txt
具体参考如下资料:
-Xverbosegclog[:[,,]]
Causes -verbose:gc output to be written to the specified file. If the file cannot be found, -verbose:gc tries to create the file, and then continues as normal if it is successful. If it cannot create the file (for example, if an invalid filename is passed into the command), it redirects the output to stderr.

If you specify and the -verbose:gc output is redirected to X files, each containing Y GC cycles.

The dump agent tokens can be used in the filename. See Dump agent tokens for more information. If you do not specify , verbosegc.%Y%m%d.%H%M%S.%pid.txt is used.收起
互联网服务 · 2013-12-24
浏览2610

提问者

star120120
技术支持DC
擅长领域: 备份存储数据备份

相关问题

问题状态

  • 发布时间:2013-12-24
  • 关注会员:1 人
  • 问题浏览:11244
  • 最近回答:2013-12-24
  • X社区推广