Repository navigation
Homer 11 Health Check #1001
Replies: 1 comment
|
@parth199833 The
If those fields are empty, Homer defaults to Fix (then restart — an invalidated DuckDB instance does not recover in-process): "storage": {
"ducklake": {
"tuning": {
"memory_limit": "12GB",
"threads": 4,
"temp_directory": "/data/homer/.duckdb_spill"
}
}
},
"node": {
"ducklake": {
"tuning": {
"memory_limit": "12GB",
"threads": 2,
"temp_directory": "/data/homer/.duckdb_spill"
}
}
}Or via env: environment:
HOMER_STORAGE_DUCKLAKE_TUNING_MEMORY_LIMIT: "12GB"
HOMER_NODE_DUCKLAKE_TUNING_MEMORY_LIMIT: "12GB"Do not give DuckDB the full 30G: writer + node can be two DuckDB instances plus Go. ~50% of the container is a reasonable starting point. After restart, logs should show See https://github.com/sipcapture/homer/blob/main/docs/OOM.md and https://github.com/sipcapture/homer/blob/main/docs/DUCKDB_TUNING.md On health/readiness: There is no readiness endpoint today that fails when DuckDB is dead. Your compose check should at least hit |
Uh oh!
There was an error while loading. Please reload this page.
@adubovikov
My Error Log is
2026-09-08T09:01:32Z ERR Hub: Query failed on node local: query error: FATAL Error: Failed: database has been invalidated because of a previous fatal error. The database must be restarted prior to being used again. Original error: "Failed to create checkpoint because of error: failed to pin block of size 256.0 KiB (1.8 GiB/1.8 GiB used) Possible solutions: * Reducing the number of threads (SET threads=X) * Disabling insertion-order preservation (SET preserve_insertion_order=false) * Increasing the memory limit (SET memory_limit='...GB')" 2026-09-08T09:01:32Z ERR V4RawQuery: query error: node local: query error: FATAL Error: Failed: database has been invalidated because of a previous fatal error. 2026-09-08T09:01:32Z POST /api/v4/query 500 1.870043ms 2026-09-08T09:01:32Z INF Hub: Connected to node node=local addr=127.0.0.1:50052After this log error, API queries return:
POST /api/v4/query 500
However, there does not appear to be a reliable health/readiness endpoint that reports the Homer node as unhealthy when the underlying DuckDB database is no longer usable.
Is there a recommended Homer health/readiness endpoint that checks the actual database/node health and returns a non-200 response when DuckDB is invalidated?
If there is currently no such endpoint, could a health/readiness endpoint be provided that verifies both Homer service health and DuckDB availability?
All reactions