19817674
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
4 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
03:22.810
Run Time
06:16.125
Inserted
12h ago
Scheduled
10h ago
Completed
10h ago (06:17)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "91443",
"date" => "2026-03-06",
"query" => "event_counts",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_user_counts"],
"name" => "generate_event_counts",
"on_hold" => false,
"orig_scheduled_at" => 1772757599470720,
"recorded" => true,
"return" => "g1AAAAG6eJxVkTFOwzAYhVMhdQhNVCEGJA7A3JGRC3ACJMt2XlsLx7b8O/lhYGVl4QjcgkN0ZOIGSJwACadJK1gsvU/P//+enYqiuOA5erhE6vLr5y6LGH0kVRQfr1yxaTZIwnrZoJEFn66tZxK09eyy5fmTFxsvLYnWEO0d1agjpN6iyZ7VLdcukGiQotRpnD174cUAHbpMLck3rgYdom99wui55jLIDURvwKRm72LHC9IRcCPK285ar4yFwENANHAaAy2DcVPIrJbDYOpij8dj8NUVn//BERS8IwxrTywv0UqTS8iU0IY0Np8Y5afKsp6k8l1eui8+kXU+/wEf4PbgcEdbo+9Hi5LO5bbHrLUMQXcgMX3J7CZ+c606YxvEAyznu6df3cOjzQ",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-789d-74e9-92ed-f0098fd7e889"
}
Recorded Output
%{
events: 468516188,
errors: 55188,
widget_loaded: 0,
flows_shown: 34525,
goals_missed: 0,
goals_reached: 12622,
nps_detractors: 399,
nps_neutrals: 164,
nps_promoters: 313,
page_views: 29056975,
screen_views: 0,
mobile_experiences: 0,
pins_shown: 0,
nps_survey_shown: 12583,
nps_survey_responses: 876,
emails_attempted: 0,
emails_sent: 0,
emails_bounced: 0,
emails_failed: 0,
emails_opened: 0,
emails_clicked: 0,
banners_shown: 0,
appcues_events: 21066479,
builder_events: 168218493
}
Errors
Attempt 3—10h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"7375 (official build))\n"
# 2
59
# 3
67
# 4
["refetchedReadPool, algorithm: Thread). (MEMORY_LIMIT_EXCEEDED) (version 25.10.1.", "Disk of type s3, from mark 36468 with max_rows_to_read = 3935, offset = 0): While executing MergeTreeSelect(pool: ", "le prod_events.event_history_v2 (5f30ce73-d792-4409-8626-e5e307da7fa9) located on disk s3WithKeepe", "ile reading from part data/5f30ce73-d792-4409-8626-e5e307da7fa9/all_12396311_12661295_36_22488012/ in ta", "lue_size_hint = 1024, avg_chars_size = 1219.2, limit = 3935): (while reading column identity): (w", " Waiting timeout for memory to be freed is reached: (avg_v", "iB), current RSS: 311.33 GiB, maximum: 320.40 GiB. OvercommitTracker decision", "de: 241. DB::Exception: (total) memory limit exceeded: would use 336.87 GiB (attempt to allocate chunk of 8.57 "]
(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
Attempt 2—10h ago
** (Ch.Error) Code: 74. DB::ErrnoException: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/76d/76d531b929d30067bdf544da8bc2d192/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-202/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/fmu/mjdsddznwkirtrszaerjewbiyfrxp, hash key: 76d531b929d30067bdf544da8bc2d192, file_offset_of_buffer_end: 0, read_until_position: 516553, internal buffer end: 0, read_type: CACHED, last caller: 9587def8-6510-466e-9be2-6bc73f381c71:41351, file segment info: File segment: [0, 676800], key: 76d531b929d30067bdf544da8bc2d192, state: DOWNLOADED, downloaded size: 676801, reserved size: 676801, downloader id: None, current write offset: 676801, caller id: 9587def8-6510-466e-9be2-6bc73f381c71:41351, kind: Regular, unbound: 0. (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))
(ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:1113: Ecto.Adapters.SQL.raise_sql_call_error/1
(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
(ecto 3.13.5) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
(ecto 3.13.5) lib/ecto/repo/queryable.ex:171: Ecto.Repo.Queryable.one!/3
(customer_api 1.21.0+0fcb3e63) lib/customer_api/jobs/generate_account_metrics.ex:37: CustomerApi.Jobs.GenerateAccountMetrics.process/1
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
Attempt 1—11h ago
** (Ch.Error) Code: 74. DB::ErrnoException: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/76d/76d531b929d30067bdf544da8bc2d192/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-202/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/fmu/mjdsddznwkirtrszaerjewbiyfrxp, hash key: 76d531b929d30067bdf544da8bc2d192, file_offset_of_buffer_end: 0, read_until_position: 516553, internal buffer end: 0, read_type: CACHED, last caller: 2c13f08f-1159-4e8d-af8a-be60d7907b67:39048, file segment info: File segment: [0, 676800], key: 76d531b929d30067bdf544da8bc2d192, state: DOWNLOADED, downloaded size: 676801, reserved size: 676801, downloader id: None, current write offset: 676801, caller id: 2c13f08f-1159-4e8d-af8a-be60d7907b67:39048, kind: Regular, unbound: 0. (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))
(ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:1113: Ecto.Adapters.SQL.raise_sql_call_error/1
(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
(ecto 3.13.5) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
(ecto 3.13.5) lib/ecto/repo/queryable.ex:171: Ecto.Repo.Queryable.one!/3
(customer_api 1.21.0+0fcb3e63) lib/customer_api/jobs/generate_account_metrics.ex:37: CustomerApi.Jobs.GenerateAccountMetrics.process/1
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1