fix: limite de CPU 6.0 para ollama
803% de CPU durante el thinking (ya fixeado con think=false) podria repetirse en cargas largas. Cap de 6 CPUs (de las 8+ del host): - compose (openwebui/wordpress): deploy.resources.limits.cpus: 6.0 - docker run (hermes/openclaw): --cpus 6.0 Verificado: cap de 3.5 en host de 4 cores => 353% max (cap respetado).
This commit is contained in:
1 parent
5030770bc2
commit
1d59b3fe09
4 files changed
+4
-2
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-o
|
|||||||
if (-not $running) {
|
if (-not $running) {
|
||||||
$GpuArgs = @()
|
$GpuArgs = @()
|
||||||
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
||||||
docker run -d --name d0a1-hermes-ollama --memory 6g @GpuArgs `
|
docker run -d --name d0a1-hermes-ollama --memory 6g --cpus 6.0 @GpuArgs `
|
||||||
-p "${OllamaPort}:11434" `
|
-p "${OllamaPort}:11434" `
|
||||||
-v d0a1_hermes_ollama:/root/.ollama `
|
-v d0a1_hermes_ollama:/root/.ollama `
|
||||||
-e OLLAMA_HOST=0.0.0.0 `
|
-e OLLAMA_HOST=0.0.0.0 `
|
||||||
|
|||||||
+1
-1
@@ -117,7 +117,7 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-openclaw
|
|||||||
if (-not $running) {
|
if (-not $running) {
|
||||||
$GpuArgs = @()
|
$GpuArgs = @()
|
||||||
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
||||||
docker run -d --name d0a1-openclaw-ollama --memory 6g @GpuArgs `
|
docker run -d --name d0a1-openclaw-ollama --memory 6g --cpus 6.0 @GpuArgs `
|
||||||
-p "${OllamaPort}:11434" `
|
-p "${OllamaPort}:11434" `
|
||||||
-v d0a1_openclaw_ollama:/root/.ollama `
|
-v d0a1_openclaw_ollama:/root/.ollama `
|
||||||
-e OLLAMA_HOST=0.0.0.0 `
|
-e OLLAMA_HOST=0.0.0.0 `
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 6G
|
memory: 6G
|
||||||
|
cpus: "6.0"
|
||||||
|
|
||||||
openwebui:
|
openwebui:
|
||||||
container_name: d0a1-openwebui
|
container_name: d0a1-openwebui
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 6G
|
memory: 6G
|
||||||
|
cpus: "6.0"
|
||||||
|
|
||||||
openwebui:
|
openwebui:
|
||||||
container_name: d0a1-wp-openwebui
|
container_name: d0a1-wp-openwebui
|
||||||
|
|||||||
Reference in new issue
Block a user