[
https://issues.apache.org/jira/browse/FLINK-23837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400726#comment-17400726
]
Yao Zhang commented on FLINK-23837:
-----------------------------------
Hi all,
I looked into the default flink-conf.yml file:
{code:yaml}
# The amount of memory going to the network stack. These numbers usually need
# no tuning. Adjusting them may be necessary in case of an "Insufficient number
# of network buffers" error. The default min is 64MB, the default max is 1GB.
#
# taskmanager.memory.network.fraction: 0.1
# taskmanager.memory.network.min: 64mb
# taskmanager.memory.network.max: 1gb
{code}
It says the default max is 1GB but this configuration is not enabled by default.
So the default conf and Flink docs contradict with what actually in the code.
> Differences between documentation and implementation for
> taskmanager.memory.network.max
> ----------------------------------------------------------------------------------------
>
> Key: FLINK-23837
> URL: https://issues.apache.org/jira/browse/FLINK-23837
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Configuration
> Affects Versions: 1.12.0
> Reporter: Wawrzyniec Nowak
> Priority: Minor
>
> The default value for taskmanager.memory.network.max is [documented
> |https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/deployment/config/#taskmanager-memory-network-max]
> as 1gb but in the logs it says that
> {code:java}
> org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils - The
> configuration option taskmanager.memory.network.max required for local
> execution is not set, setting it to its default value 64mb.
> {code}
> And it looks like 64mb is actually the default:
> https://github.com/apache/flink/blob/9e8c551958f30d5b54cbb26d2a232d96e1e0988c/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutorResourceUtils.java#L244
> Please either adjust documentation or change implementation to set 1gb by
> default
--
This message was sent by Atlassian Jira
(v8.3.4#803005)