You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Zhuo Liu (JIRA)" <ji...@apache.org> on 2015/07/26 23:20:04 UTC

[jira] [Comment Edited] (STORM-40) Turn worker GC logging on by default

    [ https://issues.apache.org/jira/browse/STORM-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642095#comment-14642095 ] 

Zhuo Liu edited comment on STORM-40 at 7/26/15 9:19 PM:
--------------------------------------------------------

This issue will be solved in storm-901 as worker artifact directory gets in.
https://issues.apache.org/jira/browse/STORM-901


was (Author: zhuoliu):
This issue will be solved in storm-901 as worker artifact directory gets in.

> Turn worker GC logging on by default
> ------------------------------------
>
>                 Key: STORM-40
>                 URL: https://issues.apache.org/jira/browse/STORM-40
>             Project: Apache Storm
>          Issue Type: Improvement
>            Reporter: James Xu
>
> https://github.com/nathanmarz/storm/issues/492
> This would be an update to the default worker.childopts. The logs should be configured to have a ceiling on the amount of space they use.
> -----------------------------------------------------------------------------------------------------
> hausdorff:
> What sounds like a reasonable amount of default space for logging to you?
> -----------------------------------------------------------------------------------------------------
> mrflip:
> This is what we've been using; it will use no more than 10 files of 1MB each. Most gc logging statements are on except PrintGCApplicationStoppedTime.
> worker.childopts: >-
>       -Xloggc:/var/log/storm/gc-worker-%ID%.log -verbose:gc                                                                                                   
>       -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1m
>       -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -XX:+PrintClassHistogram                                                                                         
>       -XX:+PrintTenuringDistribution -XX:-PrintGCApplicationStoppedTime 
>                                                                                                                                                                                                         
> The challenge here is -Xloggc:/var/log/storm/gc-worker-%ID%.log -- how would you like the directory to be specified? I can add a new config variable, or add a new % interpolant, or default it to /tmp/gc-worker-%ID%.log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)