Skip to content

fix(evocrm): pin ClickHouse 26.3.20.7 — latest >= 26.6 exige AVX2 e crasha em CPUs antigas (Xeon E3 v2/Ivy Bridge) - #170

Open
sistemabritto wants to merge 1 commit into
oriondesign2015:mainfrom
sistemabritto:fix/clickhouse-avx2-pin
Open

fix(evocrm): pin ClickHouse 26.3.20.7 — latest >= 26.6 exige AVX2 e crasha em CPUs antigas (Xeon E3 v2/Ivy Bridge)#170
sistemabritto wants to merge 1 commit into
oriondesign2015:mainfrom
sistemabritto:fix/clickhouse-avx2-pin

Conversation

@sistemabritto

Copy link
Copy Markdown

Resumo

Desde o release 26.6 (jun/2026) o build padrão do ClickHouse passou a alvo x86-64-v3 (AVX2) em vez de x86-64-v2 (SSE4.2). Em hosts sem AVX2 (ex: Intel Xeon E3-12xx v2 / Ivy Bridge, comum em VPS baratas), o container evocrm_clickhouse morre em loop com exit 132Illegal instruction (core dumped) — e o evoflow fica preso em Waiting for clickhouse....

Solução

Pin da imagem em clickhouse/clickhouse-server:26.3.20.7 (última linha 26.3 LTS, compatível com x86-64-v2 / SSE4.2). O mesmo padrão já usado no instalador standalone do ClickHouse dentro do script (23.8.8.20-alpine).

Arquivos alterados

  • SetupOrion linha ~42254: image: clickhouse/clickhouse-server:latest26.3.20.7 (com comentário explicativo)
  • SetupOrion linha ~42442: pull command atualizado

Testado

  • Deploy na VPS 69.197.142.186 (Xeon E3-12xx v2, apenas AVX + SSE4.2)
  • evocrm_clickhouse subiu healthy (Ready, sem SIGILL)
  • evoflow conectou e iniciou: Nest application successfully started
  • Stack completa: 17/17 serviços 1/1

Referência

ClickHouse 26.6 changelog: "The default x86 build now targets x86-64-v3 (AVX2) instead of x86-64-v2 (SSE4.2). If your CPU does not support AVX2, use the `amd64compat` build."
PR upstream: ClickHouse/ClickHouse#105019

…asha em CPUs antigas)

Desde o release 26.6 o build padrao do ClickHouse passou de x86-64-v2 (SSE4.2)
para x86-64-v3 (AVX2). Em hosts sem AVX2 (ex: Xeon E3-12xx v2 / Ivy Bridge,
comum em VPS), o servico evocrm_clickhouse morre em loop com exit 132
(Illegal instruction) e derruba o evoflow, que fica 'Waiting for clickhouse'.

Fix: pin em 26.3.20.7 (linha 26.3 LTS, ultima compativel com x86-64-v2),
mesmo padrao ja usado no instalador standalone do ClickHouse (23.8.8.20-alpine).

Ref: ClickHouse/ClickHouse#105019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant