19833418
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
03:24.639
Run Time
11:18.679
Inserted
6h ago
Scheduled
4h ago
Completed
4h ago (11:19)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "221440",
"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" => 1772758897133947,
"recorded" => true,
"return" => "g1AAAAG0eJxVkTFOAzEQRS0htkiyqyiioKDiFBwApYcLWLb3J7Hw2pbHm4GCioJbIHEBREHH3RDezQaRxtJ7+mPPjLMQ4pIr7OEz6fu399cCKYVEWsyub7hm226RpQuqRatWPN+4wCRpF9hrUX2c82IblCPZWaKSEFwfOEGZHVotxO6OGx9JtshJmVzuLqnFYDz6otzA9cAxhS5kjIFZVFvIvQWTPlPrH16QSYCflPheR151QVsHiceIZOENDpXWTx0WWg4XU5/2ePpzF/9cAsXgaaxcolO29K5yRhfzOM58clQ2VLCZUIe+PDfOO5lNOU9EiPCjONYYZ83DIaKV92XO4x5FdcuNitH0IDl9RvX8+cKN7q1rkY5SiK+rXz1moOk",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-7a61-71f7-b48c-b01460c8c197"
}
Recorded Output
%{
events: 1386127751,
errors: 664120,
widget_loaded: 18,
flows_shown: 437765,
goals_missed: 0,
goals_reached: 26705,
nps_detractors: 0,
nps_neutrals: 0,
nps_promoters: 0,
page_views: 56706814,
screen_views: 12273264,
mobile_experiences: 0,
pins_shown: 0,
nps_survey_shown: 0,
nps_survey_responses: 0,
emails_attempted: 0,
emails_sent: 0,
emails_bounced: 0,
emails_failed: 0,
emails_opened: 0,
emails_clicked: 0,
banners_shown: 1604,
appcues_events: 108900483,
builder_events: 46108
}
Errors
Attempt 2—4h ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
"T_EXCEEDED) (version 25.10.1.7375 (official build))\n"
# 2
59
# 3
67
# 4
["algorithm: Thread). (MEMORY_LIMI", "om mark 74462 with max_rows_to_read = 1352, offset = 0): While executing MergeTreeSelect(pool: PrefetchedReadPool,", "d_events.event_history_v2 (5f30ce73-d792-4409-8626-e5e307da7fa9) located on disk s3WithKeeperDisk of type s3, f", "e reading from part data/5f30ce73-d792-4409-8626-e5e307da7fa9/all_12396311_12661295_36_22488012/ in table pr", "reading column attributes): (whi", " Waiting timeout for memory to be freed is reached: (while", "iB), current RSS: 311.72 GiB, maximum: 320.40 GiB. OvercommitTracker decision", "de: 241. DB::Exception: (total) memory limit exceeded: would use 342.24 GiB (attempt to allocate chunk of 6.00 "]
(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 1—5h ago
** (Ch.Error) Code: 74. DB::ErrnoException: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/3e1/3e1e8229dfeae73d52ca75106234fcb4/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-5a8/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/wfe/qfwymcutvucmllndzqkdeexygopjl, hash key: 3e1e8229dfeae73d52ca75106234fcb4, file_offset_of_buffer_end: 1114112, read_until_position: 1161250, internal buffer end: 1114112, read_type: CACHED, last caller: 0e9554d1-71d6-4390-a303-6d5360f87a75:40973, file segment info: File segment: [0, 1161249], key: 3e1e8229dfeae73d52ca75106234fcb4, state: DOWNLOADED, downloaded size: 1161250, reserved size: 1161250, downloader id: None, current write offset: 1161250, caller id: 0e9554d1-71d6-4390-a303-6d5360f87a75:40973, 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