Skip to content

Commit 18826fb

Browse files
authored
add notes in docker compose yml (#874)
1 parent 436d45e commit 18826fb

File tree

24 files changed

+504
-0
lines changed

24 files changed

+504
-0
lines changed

src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_apache.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ services:
126126
networks:
127127
iotdb:
128128
ipv4_address: 172.18.0.6
129+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
130+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
131+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
132+
# ulimits:
133+
# nofile:
134+
# soft: 1048576
135+
# hard: 1048576
129136
networks:
130137
iotdb:
131138
external: true
@@ -287,6 +294,13 @@ services:
287294
- ./iotdb/logs:/iotdb/logs
288295
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
289296
network_mode: "host" #Using the host network
297+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
298+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
299+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
300+
# ulimits:
301+
# nofile:
302+
# soft: 1048576
303+
# hard: 1048576
290304
```
291305

292306
**datanode.yml:**
@@ -321,6 +335,13 @@ services:
321335
- ./iotdb/logs:/iotdb/logs
322336
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
323337
network_mode: "host" #Using the host network
338+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
339+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
340+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
341+
# ulimits:
342+
# nofile:
343+
# soft: 1048576
344+
# hard: 1048576
324345
```
325346

326347
### 3.4 Start ConfigNode for the First Time

src/UserGuide/Master/Table/Deployment-and-Maintenance/Docker-Deployment_timecho.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ services:
138138
networks:
139139
iotdb:
140140
ipv4_address: 172.18.0.6
141+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
142+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
143+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
144+
# ulimits:
145+
# nofile:
146+
# soft: 1048576
147+
# hard: 1048576
141148
networks:
142149
iotdb:
143150
external: true
@@ -319,6 +326,13 @@ services:
319326
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
320327
- /dev/mem:/dev/mem:ro
321328
network_mode: "host" #Using the host network
329+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
330+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
331+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
332+
# ulimits:
333+
# nofile:
334+
# soft: 1048576
335+
# hard: 1048576
322336
```
323337

324338
**datanode.yml:**
@@ -354,6 +368,13 @@ services:
354368
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
355369
- /dev/mem:/dev/mem:ro
356370
network_mode: "host" #Using the host network
371+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
372+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
373+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
374+
# ulimits:
375+
# nofile:
376+
# soft: 1048576
377+
# hard: 1048576
357378
```
358379

359380
### 3.4 Start ConfigNode for the First Time

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Docker-Deployment_apache.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ services:
125125
networks:
126126
iotdb:
127127
ipv4_address: 172.18.0.6
128+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
129+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
130+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
131+
# ulimits:
132+
# nofile:
133+
# soft: 1048576
134+
# hard: 1048576
128135
networks:
129136
iotdb:
130137
external: true
@@ -286,6 +293,13 @@ services:
286293
- ./iotdb/logs:/iotdb/logs
287294
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
288295
network_mode: "host" #Using the host network
296+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
297+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
298+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
299+
# ulimits:
300+
# nofile:
301+
# soft: 1048576
302+
# hard: 1048576
289303
```
290304

291305
**datanode.yml:**
@@ -320,6 +334,13 @@ services:
320334
- ./iotdb/logs:/iotdb/logs
321335
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
322336
network_mode: "host" #Using the host network
337+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
338+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
339+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
340+
# ulimits:
341+
# nofile:
342+
# soft: 1048576
343+
# hard: 1048576
323344
```
324345

325346
### 3.4 Starting Confignode For The First Time

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Docker-Deployment_timecho.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ services:
142142
networks:
143143
iotdb:
144144
ipv4_address: 172.18.0.6
145+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
146+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
147+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
148+
# ulimits:
149+
# nofile:
150+
# soft: 1048576
151+
# hard: 1048576
145152
networks:
146153
iotdb:
147154
external: true
@@ -329,6 +336,13 @@ services:
329336
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
330337
- /dev/mem:/dev/mem:ro
331338
network_mode: "host" #Using the host network
339+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
340+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
341+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
342+
# ulimits:
343+
# nofile:
344+
# soft: 1048576
345+
# hard: 1048576
332346
```
333347

334348
**datanode.yml:**
@@ -364,6 +378,13 @@ services:
364378
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
365379
- /dev/mem:/dev/mem:ro
366380
network_mode: "host" #Using the host network
381+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
382+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
383+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
384+
# ulimits:
385+
# nofile:
386+
# soft: 1048576
387+
# hard: 1048576
367388
```
368389

369390
### 3.4 Starting Confignode For The First Time

src/UserGuide/V1.3.x/Deployment-and-Maintenance/Docker-Deployment_apache.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ services:
125125
networks:
126126
iotdb:
127127
ipv4_address: 172.18.0.6
128+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
129+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
130+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
131+
# ulimits:
132+
# nofile:
133+
# soft: 1048576
134+
# hard: 1048576
128135
networks:
129136
iotdb:
130137
external: true
@@ -286,6 +293,13 @@ services:
286293
- ./iotdb/logs:/iotdb/logs
287294
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
288295
network_mode: "host" #Using the host network
296+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
297+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
298+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
299+
# ulimits:
300+
# nofile:
301+
# soft: 1048576
302+
# hard: 1048576
289303
```
290304

291305
**datanode.yml:**
@@ -320,6 +334,13 @@ services:
320334
- ./iotdb/logs:/iotdb/logs
321335
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
322336
network_mode: "host" #Using the host network
337+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
338+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
339+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
340+
# ulimits:
341+
# nofile:
342+
# soft: 1048576
343+
# hard: 1048576
323344
```
324345

325346
### Starting Confignode For The First Time

src/UserGuide/V1.3.x/Deployment-and-Maintenance/Docker-Deployment_timecho.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ services:
142142
networks:
143143
iotdb:
144144
ipv4_address: 172.18.0.6
145+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
146+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
147+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
148+
# ulimits:
149+
# nofile:
150+
# soft: 1048576
151+
# hard: 1048576
145152
networks:
146153
iotdb:
147154
external: true
@@ -329,6 +336,13 @@ services:
329336
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
330337
- /dev/mem:/dev/mem:ro
331338
network_mode: "host" #Using the host network
339+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
340+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
341+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
342+
# ulimits:
343+
# nofile:
344+
# soft: 1048576
345+
# hard: 1048576
332346
```
333347

334348
**datanode.yml:**
@@ -364,6 +378,13 @@ services:
364378
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
365379
- /dev/mem:/dev/mem:ro
366380
network_mode: "host" #Using the host network
381+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
382+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
383+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
384+
# ulimits:
385+
# nofile:
386+
# soft: 1048576
387+
# hard: 1048576
367388
```
368389

369390
### Starting Confignode For The First Time

src/UserGuide/dev-1.3/Deployment-and-Maintenance/Docker-Deployment_apache.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ services:
125125
networks:
126126
iotdb:
127127
ipv4_address: 172.18.0.6
128+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
129+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
130+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
131+
# ulimits:
132+
# nofile:
133+
# soft: 1048576
134+
# hard: 1048576
128135
networks:
129136
iotdb:
130137
external: true
@@ -286,6 +293,13 @@ services:
286293
- ./iotdb/logs:/iotdb/logs
287294
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
288295
network_mode: "host" #Using the host network
296+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
297+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
298+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
299+
# ulimits:
300+
# nofile:
301+
# soft: 1048576
302+
# hard: 1048576
289303
```
290304

291305
**datanode.yml:**
@@ -320,6 +334,13 @@ services:
320334
- ./iotdb/logs:/iotdb/logs
321335
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
322336
network_mode: "host" #Using the host network
337+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
338+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
339+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
340+
# ulimits:
341+
# nofile:
342+
# soft: 1048576
343+
# hard: 1048576
323344
```
324345

325346
### Starting Confignode For The First Time

src/UserGuide/dev-1.3/Deployment-and-Maintenance/Docker-Deployment_timecho.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ services:
142142
networks:
143143
iotdb:
144144
ipv4_address: 172.18.0.6
145+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
146+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
147+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
148+
# ulimits:
149+
# nofile:
150+
# soft: 1048576
151+
# hard: 1048576
145152
networks:
146153
iotdb:
147154
external: true
@@ -329,6 +336,13 @@ services:
329336
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
330337
- /dev/mem:/dev/mem:ro
331338
network_mode: "host" #Using the host network
339+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
340+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
341+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
342+
# ulimits:
343+
# nofile:
344+
# soft: 1048576
345+
# hard: 1048576
332346
```
333347

334348
**datanode.yml:**
@@ -364,6 +378,13 @@ services:
364378
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
365379
- /dev/mem:/dev/mem:ro
366380
network_mode: "host" #Using the host network
381+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
382+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
383+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
384+
# ulimits:
385+
# nofile:
386+
# soft: 1048576
387+
# hard: 1048576
367388
```
368389

369390
### Starting Confignode For The First Time

src/UserGuide/latest-Table/Deployment-and-Maintenance/Docker-Deployment_apache.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ services:
126126
networks:
127127
iotdb:
128128
ipv4_address: 172.18.0.6
129+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
130+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
131+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
132+
# ulimits:
133+
# nofile:
134+
# soft: 1048576
135+
# hard: 1048576
129136
networks:
130137
iotdb:
131138
external: true
@@ -287,6 +294,13 @@ services:
287294
- ./iotdb/logs:/iotdb/logs
288295
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
289296
network_mode: "host" #Using the host network
297+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
298+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
299+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
300+
# ulimits:
301+
# nofile:
302+
# soft: 1048576
303+
# hard: 1048576
290304
```
291305

292306
**datanode.yml:**
@@ -321,6 +335,13 @@ services:
321335
- ./iotdb/logs:/iotdb/logs
322336
- /usr/sbin/dmidecode:/usr/sbin/dmidecode:ro
323337
network_mode: "host" #Using the host network
338+
# Note: Some environments set an extremely high container nofile limit (~2^30 = 1073741824).
339+
# This can make the startup step "Checking whether the ports are already occupied..." appear to hang (lsof slow).
340+
# If you see that line for a long time, lower the nofile limit by uncommenting below:
341+
# ulimits:
342+
# nofile:
343+
# soft: 1048576
344+
# hard: 1048576
324345
```
325346

326347
### 3.4 Start ConfigNode for the First Time

0 commit comments

Comments
 (0)