19968173
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
2 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.158
Queue Time
02:04.769
Run Time
00:51.870
Inserted
12h ago
Scheduled
11h ago
Completed
11h ago (00:52)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "46137",
"date" => "2026-03-07",
"query" => "users_reached",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772845544150906,
"recorded" => true,
"return" => "g1AAAABXeJwrYWBgYC7nLS1OLSqOL0pNTM5ITUliYBD1L5dOKs3MSUktik8tS80riUdXwRheLpFXUBxfXFpUllqJKp3IAAD+1x6Z",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc5a5-c71f-7480-9bd6-d81822cb0ccf"
}
Recorded Output
%{
users_reached: 5455,
builder_event_users_reached: 343,
nps_survey_users_reached: 0
}
Errors
Attempt 1—11h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"hread). (MEMORY_LIMIT_EXCEEDED) (version 25.10.1.7525 (official build))\n"
# 2
59
# 3
67
# 4
["PrefetchedReadPool, algorithm: T", " s3, from mark 32577 with max_rows_to_read = 4679, offset = 0): While executing MergeTreeSelect(pool:", "vents.event_history_v2 (5f30ce73-d792-4409-8626-e5e307da7fa9) located on disk s3WithKeeperDisk of typ", "da7fa9/all_16157678_16172147_9_22488012/ in table prod_", "s reached: (while reading column attributes): (while reading from part data/5f30ce73-d792-4409-8626-e5e30", "iB. OvercommitTracker decision: Waiting timeout for memory to be freed ", " MiB), current RSS: 335.19 GiB, maximum: 320.40 ", "de: 241. DB::Exception: (total) memory limit exceeded: would use 336.58 GiB (attempt to allocate chunk of 512.0"]
(ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
(ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
(db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
(db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
(ch 0.7.1) lib/ch.ex:94: Ch.query/4
(ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
(ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
(ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4