[
https://issues.apache.org/jira/browse/STORM-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646310#comment-14646310
]
ASF GitHub Bot commented on STORM-964:
--------------------------------------
GitHub user zhuoliu opened a pull request:
https://github.com/apache/storm/pull/657
STORM-964, add config for worker logwriter to restrict its mem usage
The log writer process that writes out stderr and stdout should have a
config that controls it's memory usage and it should default to a very small
value, probably 50MB in most cases.
To address above issue, one new parameter is defined for logwriter's
jvmopts: "topology.worker.lw.childopts".
The default heap size of logwriter is set as 64M, or user can override it
through "-c topology.worker.lw.childopts='xxxx " when submitting a topology.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhuoliu/storm 964
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/657.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #657
----
commit f5ce1f865aaf8fbebd364799dcc9685a96dd7f16
Author: zhuol <[email protected]>
Date: 2015-07-29T15:54:56Z
STORM-964, add config for worker logwriter to restrict its mem usage
----
> Add config (with small default value) for logwriter to restrict its memory
> usage
> --------------------------------------------------------------------------------
>
> Key: STORM-964
> URL: https://issues.apache.org/jira/browse/STORM-964
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: Zhuo Liu
> Assignee: Zhuo Liu
> Priority: Minor
>
> The log writer process that writes out stderr and stdout should have a config
> that controls it's memory usage and it should default to a very small value,
> probably 50-60MB in most cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)