fix(runtime): keep default build threads below smoke threshold
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ RUNTIME_CPU_LIMIT=4
|
|||||||
RUNTIME_PIDS_LIMIT=256
|
RUNTIME_PIDS_LIMIT=256
|
||||||
# Bound Node/Rolldown build parallelism inside the runtime container.
|
# Bound Node/Rolldown build parallelism inside the runtime container.
|
||||||
RUNTIME_NODE_OPTIONS=--max-old-space-size=1536
|
RUNTIME_NODE_OPTIONS=--max-old-space-size=1536
|
||||||
RUNTIME_RAYON_NUM_THREADS=2
|
RUNTIME_RAYON_NUM_THREADS=1
|
||||||
# Optional smoke-only limits used with compose.smoke.yaml (maximum supported defaults shown).
|
# Optional smoke-only limits used with compose.smoke.yaml (maximum supported defaults shown).
|
||||||
# SMOKE_RUNTIME_MEMORY_LIMIT=4g
|
# SMOKE_RUNTIME_MEMORY_LIMIT=4g
|
||||||
# SMOKE_RUNTIME_MEMORY_SWAP_LIMIT=4g
|
# SMOKE_RUNTIME_MEMORY_SWAP_LIMIT=4g
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ runtime은 기본적으로 memory/swap 각각 4 GiB, CPU 4개, PID 256개 상한
|
|||||||
runtime 중지가 우선입니다.
|
runtime 중지가 우선입니다.
|
||||||
|
|
||||||
초기 빌드와 profile worktree 빌드는 기본 Node heap 1536 MiB,
|
초기 빌드와 profile worktree 빌드는 기본 Node heap 1536 MiB,
|
||||||
`RAYON_NUM_THREADS=2` 안에서 실행됩니다. `RUNTIME_NODE_OPTIONS`의 heap 상한은
|
`RAYON_NUM_THREADS=1` 안에서 실행됩니다. `RUNTIME_NODE_OPTIONS`의 heap 상한은
|
||||||
512~2048 MiB, `RUNTIME_RAYON_NUM_THREADS`는 1~4만 허용됩니다. 이는 빌드 중
|
512~2048 MiB, `RUNTIME_RAYON_NUM_THREADS`는 1~4만 허용됩니다. 이는 빌드 중
|
||||||
container hard limit에 먼저 닿는 것을 막고 실행 process에도 같은 상한을
|
container hard limit에 먼저 닿는 것을 막고 실행 process에도 같은 상한을
|
||||||
적용합니다.
|
적용합니다.
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ services:
|
|||||||
CORE_SSH_PRIVATE_KEY_BASE64: ${CORE_SSH_PRIVATE_KEY_BASE64:-}
|
CORE_SSH_PRIVATE_KEY_BASE64: ${CORE_SSH_PRIVATE_KEY_BASE64:-}
|
||||||
CORE_SSH_KNOWN_HOSTS_BASE64: ${CORE_SSH_KNOWN_HOSTS_BASE64:-}
|
CORE_SSH_KNOWN_HOSTS_BASE64: ${CORE_SSH_KNOWN_HOSTS_BASE64:-}
|
||||||
NODE_OPTIONS: ${RUNTIME_NODE_OPTIONS:---max-old-space-size=1536}
|
NODE_OPTIONS: ${RUNTIME_NODE_OPTIONS:---max-old-space-size=1536}
|
||||||
RAYON_NUM_THREADS: ${RUNTIME_RAYON_NUM_THREADS:-2}
|
RAYON_NUM_THREADS: ${RUNTIME_RAYON_NUM_THREADS:-1}
|
||||||
POSTGRES_HOST: postgres
|
POSTGRES_HOST: postgres
|
||||||
POSTGRES_PORT: '5432'
|
POSTGRES_PORT: '5432'
|
||||||
POSTGRES_DB: ${POSTGRES_DB:-sammo}
|
POSTGRES_DB: ${POSTGRES_DB:-sammo}
|
||||||
|
|||||||
Reference in New Issue
Block a user