Skip to content

Clean timescale/timescaledb-ha:pg17.5-ts2.20.2 (linux/arm64) - "TimescaleDB Background Worker Launcher" Illegal instruction #558

@schacka

Description

@schacka

Docker Image timescale/timescaledb-ha:pg17.5-ts2.20.2 does not start successfully on my RPi4 (linux/arm64). Current pull and empty data directory. timescale/timescaledb-ha:pg17.5-ts2.20.1 (linux/arm64) works fine. On my server there are no errors with timescale/timescaledb-ha:pg17.5-ts2.20.2 (linux/amd64 ).
What could be the problem?

Docker Compose:

services:
   db:
    image: timescale/timescaledb-ha:pg17
    container_name: ${POSTGRES_HOST}
    hostname: ${POSTGRES_HOST}
    restart: unless-stopped
    environment:
        TZ: ${TZ}
        POSTGRES_USER: ${POSTGRES_USER}
        POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
        POSTGRES_DB: ${POSTGRES_DB}
        LANG: ${LANG}
        POSTGRES_INITDB_ARGS: ${POSTGRES_INITDB_ARGS}
        TS_TUNE_MEMORY: ${TS_TUNE_MEMORY}
        TS_TUNE_NUM_CPUS: ${TS_TUNE_NUM_CPUS}
        TS_TUNE_MAX_BG_WORKERS: ${TS_TUNE_MAX_BG_WORKERS}
        TS_TUNE_MAX_CONNS: ${TS_TUNE_MAX_CONNS}
        TIMESCALEDB_TELEMETRY: ${TIMESCALEDB_TELEMETRY}
        # Uncomment from here after first init
        PGHOSTADDR: 127.0.0.1 
        PGPORT: 5432
        PGDATABASE: ${POSTGRES_DB}
        PGUSER: ${POSTGRES_USER}
        PGPASSWORD: ${POSTGRES_PASSWORD}
    volumes:
      - testdb_data:/home/postgres/pgdata/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 60s

Docker .env:

TZ: Europe/Berlin
POSTGRES_HOST: testdb
POSTGRES_DB: test
POSTGRES_USER: test
POSTGRES_PASSWORD: test
LANG: de_DE.utf8
POSTGRES_INITDB_ARGS: "--locale-provider=icu --icu-locale=de-DE"
TS_TUNE_MEMORY: 512MB
TS_TUNE_NUM_CPUS: 2
TS_TUNE_MAX_BG_WORKERS: 16
TS_TUNE_MAX_CONNS: 150
TIMESCALEDB_TELEMETRY: off

Docker Logs:

2025-06-10 07:26:13.667 CEST [1827] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.003 s, total=0.038 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB; lsn=0/190BBB0, redo lsn=0/190BBB0
2025-06-10 07:26:13.698 CEST [1] LOG:  database system is ready to accept connections
2025-06-10 07:26:14.250 CEST [1] LOG:  background worker "TimescaleDB Background Worker Launcher" (PID 1831) was terminated by signal 4: Illegal instruction
2025-06-10 07:26:14.250 CEST [1] LOG:  terminating any other active server processes
2025-06-10 07:26:14.260 CEST [1] LOG:  all server processes terminated; reinitializing
2025-06-10 07:26:14.339 CEST [1833] LOG:  database system was interrupted; last known up at 2025-06-10 07:26:13 CEST
2025-06-10 07:26:14.434 CEST [1833] LOG:  database system was not properly shut down; automatic recovery in progress
2025-06-10 07:26:14.456 CEST [1833] LOG:  invalid record length at 0/190BC28: expected at least 24, got 0
2025-06-10 07:26:14.456 CEST [1833] LOG:  redo is not required
2025-06-10 07:26:14.494 CEST [1834] LOG:  checkpoint starting: end-of-recovery immediate wait
2025-06-10 07:26:14.527 CEST [1834] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.004 s, total=0.039 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB; lsn=0/190BC28, redo lsn=0/190BC28
2025-06-10 07:26:14.559 CEST [1] LOG:  database system is ready to accept connections
2025-06-10 07:26:15.137 CEST [1] LOG:  background worker "TimescaleDB Background Worker Launcher" (PID 1838) was terminated by signal 4: Illegal instruction
<Repeat of the above>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions