This is an automated email from the ASF dual-hosted git repository.

critas pushed a commit to branch wx_docker_kylin
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit beec92aa7b979d73936514ca71098d5c6cf3dfb6
Author: CritasWang <[email protected]>
AuthorDate: Thu Sep 4 10:29:59 2025 +0800

    Add comments in Docker Composer for Kylin V10
---
 .../main/DockerCompose/docker-compose-ainode.yml    |  9 ++++++++-
 .../DockerCompose/docker-compose-cluster-1c1d1a.yml | 15 ++++++++++++---
 .../DockerCompose/docker-compose-cluster-1c2d.yml   | 21 +++++++++++++++++++++
 .../main/DockerCompose/docker-compose-host-3c3d.yml | 14 ++++++++++++++
 .../DockerCompose/docker-compose-standalone.yml     |  9 ++++++++-
 5 files changed, 63 insertions(+), 5 deletions(-)

diff --git a/docker/src/main/DockerCompose/docker-compose-ainode.yml 
b/docker/src/main/DockerCompose/docker-compose-ainode.yml
index f89862600b0..b6391fb30d1 100644
--- a/docker/src/main/DockerCompose/docker-compose-ainode.yml
+++ b/docker/src/main/DockerCompose/docker-compose-ainode.yml
@@ -43,4 +43,11 @@ services:
     volumes:
       - ainode-data:/ainode/data
       - ./logs/ainode:/ainode/logs
-      # - ./lib/ainode:/ainode/lib  # Uncomment for rolling upgrade
\ No newline at end of file
+      # - ./lib/ainode:/ainode/lib  # Uncomment for rolling upgrade
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
\ No newline at end of file
diff --git a/docker/src/main/DockerCompose/docker-compose-cluster-1c1d1a.yml 
b/docker/src/main/DockerCompose/docker-compose-cluster-1c1d1a.yml
index b6a1b63c573..0170f6eaa47 100644
--- a/docker/src/main/DockerCompose/docker-compose-cluster-1c1d1a.yml
+++ b/docker/src/main/DockerCompose/docker-compose-cluster-1c1d1a.yml
@@ -41,11 +41,13 @@ services:
     volumes:
         - ./data/iotdb:/iotdb/data
         - ./logs/iotdb:/iotdb/logs
-    # Enable this configuration for kylinOS
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
     # ulimits:
     #   nofile:
-    #     soft: 20000
-    #     hard: 20000
+    #     soft: 1048576
+    #     hard: 1048576
     networks:
       iotdb:
         # ipv4_address: 127.0.0.1
@@ -62,6 +64,13 @@ services:
     networks:
       iotdb:
     #     ipv4_address: 127.0.0.1
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
 networks:
   iotdb:
diff --git a/docker/src/main/DockerCompose/docker-compose-cluster-1c2d.yml 
b/docker/src/main/DockerCompose/docker-compose-cluster-1c2d.yml
index 0cd0f8ac78b..50a44d6e1eb 100644
--- a/docker/src/main/DockerCompose/docker-compose-cluster-1c2d.yml
+++ b/docker/src/main/DockerCompose/docker-compose-cluster-1c2d.yml
@@ -34,6 +34,13 @@ services:
     networks:
       iotdb:
         ipv4_address: 172.18.0.2
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
   iotdb-datanode1:
     image: apache/iotdb:1.1.0-datanode
@@ -56,6 +63,13 @@ services:
     networks:
       iotdb:
         ipv4_address: 172.18.0.3
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
   iotdb-datanode2:
     image: apache/iotdb:1.1.0-datanode
@@ -76,6 +90,13 @@ services:
     networks:
       iotdb:
         ipv4_address: 172.18.0.4
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
 networks:
   iotdb:
diff --git a/docker/src/main/DockerCompose/docker-compose-host-3c3d.yml 
b/docker/src/main/DockerCompose/docker-compose-host-3c3d.yml
index 242505d9d93..8d9be8fcf95 100644
--- a/docker/src/main/DockerCompose/docker-compose-host-3c3d.yml
+++ b/docker/src/main/DockerCompose/docker-compose-host-3c3d.yml
@@ -35,6 +35,13 @@ services:
       - ./data/confignode:/iotdb/data
       - ./logs/confignode:/iotdb/logs
     network_mode: "host"
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
   iotdb-datanode:
     image: apache/iotdb:1.1.0-datanode
@@ -55,3 +62,10 @@ services:
       - ./data/datanode:/iotdb/data/
       - ./logs/datanode:/iotdb/logs/
     network_mode: "host"
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
diff --git a/docker/src/main/DockerCompose/docker-compose-standalone.yml 
b/docker/src/main/DockerCompose/docker-compose-standalone.yml
index 1c8edd94eca..e708a8a57b0 100644
--- a/docker/src/main/DockerCompose/docker-compose-standalone.yml
+++ b/docker/src/main/DockerCompose/docker-compose-standalone.yml
@@ -44,7 +44,14 @@ services:
     networks:
       iotdb:
         ipv4_address: 172.18.0.6
+    # Kylin V10: Container nofile limit is very high (~2^30 = 1073741824). 
This may cause
+    # the startup step "Checking whether the ports are already occupied..." to 
hang (lsof too slow).
+    # If you get stuck there, lower the container nofile limit by uncommenting 
below:
+    # ulimits:
+    #   nofile:
+    #     soft: 1048576
+    #     hard: 1048576
 
 networks:
   iotdb:
-    external: true
+    external: true
\ No newline at end of file

Reply via email to