You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "MM-X-C (via GitHub)" <gi...@apache.org> on 2025/12/05 08:29:10 UTC

[I] Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5) [iotdb]

MM-X-C opened a new issue, #16873:
URL: https://github.com/apache/iotdb/issues/16873

   In a Docker-based standalone deployment of IoTDB, setting MEMORY_SIZE (e.g., MEMORY_SIZE=4G) in iotdb-env.sh does not take effect. During startup, the compaction recovery process (specifically "recovering sequence inner compaction") causes the container memory usage to continuously increase without bound, eventually leading to OOM or high resource exhaustion. This prevents the RPC service from becoming available (connection refused on port 6667). The issue persists across versions 1.3.2 and 2.0.5, with no visible impact from the JVM heap configuration.
   This occurs in standalone mode. No errors are logged beyond the repeated recovery messages, and basic resource limits in docker-compose.yml (e.g., limits: memory: 6G) do not mitigate the growth.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5) [iotdb]

Posted by "YiuTerran (via GitHub)" <gi...@apache.org>.
YiuTerran commented on issue #16873:
URL: https://github.com/apache/iotdb/issues/16873#issuecomment-4764045430

   @CritasWang These params should be in the document.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5) [iotdb]

Posted by "CritasWang (via GitHub)" <gi...@apache.org>.
CritasWang closed issue #16873: Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5)
URL: https://github.com/apache/iotdb/issues/16873


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5) [iotdb]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16873:
URL: https://github.com/apache/iotdb/issues/16873#issuecomment-3615799267

   Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Docker deployment: MEMORY_SIZE settings in confignode-env.sh and datanode-env.sh not effective, leading to continuous memory increase during compaction recovery (versions 1.3.2 and 2.0.5) [iotdb]

Posted by "CritasWang (via GitHub)" <gi...@apache.org>.
CritasWang commented on issue #16873:
URL: https://github.com/apache/iotdb/issues/16873#issuecomment-3691255540

   Docker runtime needs to be specified in this way
   
   environment
         - IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
         - CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org