19828811
CustomerApi.Jobs.GenerateAccountMetrics
Queue
clickhouse_account_metrics
Attempt
3 of 10
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
03:26.180
Run Time
00:01.491
Inserted
1d ago
Scheduled
1d ago
Completed
1d ago (00:02)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "208966",
"date" => "2026-03-06",
"query" => "users_reached",
"window_days" => 30
}
Meta
%{
"deps" => ["generate_event_counts"],
"name" => "generate_users_reached",
"on_hold" => false,
"orig_scheduled_at" => 1772760409129020,
"recorded" => true,
"return" => "g1AAAABReJwrYWBgYC7nLS1OLSqOL0pNTM5ITUlkKJdOKs3MSUktik8tS80riUeXlsgrKI4vLi0qS61ElwMAjygd2w",
"structured" => true,
"workflow" => true,
"workflow_id" => "019cc07f-79d2-7065-9886-dc539edc0438"
}
Recorded Output
%{users_reached: 0, builder_event_users_reached: 0, nps_survey_users_reached: 0}
Errors
Attempt 2—1d ago
** (Ch.Error) Code: 241. DB::Exception: (total) memory limit exceeded: would use 336.89 GiB (attempt to allocate chunk of 4.00 MiB), current RSS: 308.82 GiB, maximum: 320.40 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED) (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—1d ago
** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4
The following arguments were given to Ch.RowBinary.decode_names/4:
# 1
""
# 2
41
# 3
67
# 4
[" (version 25.10.1.7375 (official build))\n", " PrefetchedReadPool, algorithm: Thread). (CANNOT_OPEN_FILE", "me retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool", "012 (state Active) failed with error. It can mean that s", "nitialized>): (while reading column attributes): (attempt to read data part all_13710811_14319854_46_2248", "qxprckqijzbotcynipnpyxorx (position: 23025058808, typename: DB::AsynchronousBoundedReadBuffer, compressed data header: <un", "f47e-4b75-bbcb-8441591d3836/mergetree/lvw/gkc", "decompressing ch-s3-a77/aa8129e2", " kind: Regular, unbound: 0: While reading or", ", caller id: 67a1dc73-3da2-4279-bab9-308ca18a9369:1604", ": 1048576, downloader id: 67a1dc73-3da2-4279-bab9-308ca18a9369:1604, current write offset: 2302253465", "fe38ed1b44c778b5f6e5f, state: PARTIALLY_DOWNLOADED_NO_CONTINUATION, downloaded size: 0, reserved siz", " File segment: [23022534656, 23026728959], key: 1c84c65d68", "_IN_CACHE, last caller: 67a1dc73-3da2-4279-bab9-308ca18a9369:1604, file segment info", "until_position: 23025149975, internal buffer end: 23023583232, read_type: REMOTE_FS_READ_AND_PU", "78b5f6e5f, file_offset_of_buffer_end: 23025058808, read", "hash key: 1c84c65d68dfe38ed1b44c", "441591d3836/mergetree/lvw/gkczqxprckqijzbotcynipnpyxorx,", "9369:1604, kind: Regular, unbound: 0: Cache info: Buffer path: ch-s3-a77/aa8129e2-f47e-4b75-bbcb-", "534656, caller id: 67a1dc73-3da2-4279-bab9-308ca18", " size: 1048576, downloader id: 67a1dc73-3da2-4279-bab9-308ca18a9369:1604, current write offset: 2302", ": [23022534656, 23026728959], key: 1c84c65d68dfe38ed1b44c778b5f6e5f, state: DOWNLOADING, downloaded size: 0, reserve", "5f6e5f/23022534656: , errno: 30, strerror: Read-only file system, current cache state: File segmen", "sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778", "6e5f/23022534656: , errno: 30, strerror: Read-only file system: Cannot open file /mnt/clickhouse-cache", "de: 76. DB::Exception: Cannot open file /mnt/clickhouse-cache/sharedS3DiskCache/1c8/1c84c65d68dfe38ed1b44c778b5"]
(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