server: memory follows the open runs (about 74 MB a run, 3 GB an hour): the container is at its 64 GiB limit and anonymous memory reaches it in about eight hours #69

Open
opened 2026-11-14 03:17:11 +00:00 by xemmerling · 0 comments
Owner

The production server's memory grows by about 3 GB an hour and it follows the number of open runs, not the read sets. Its container is already at its 64 GiB limit through file cache, and anonymous memory alone reaches that limit in about eight hours at the present rate. Nothing is failing yet. Read 03:16Z 11-14 on c2d52b34 (server pod started 00:22Z).

The container (cgroup, one line a minute)

Time Anonymous File cache Times at the limit so far Stalled on memory in the 15 min before
00:23Z 24.7 GB 21.6 GB 0 0 s
00:39Z 35.1 GB 32.7 GB 166 1.6 s
01:10Z 38.7 GB 21.4 GB 482 0.8 s
01:58Z 41.2 GB 26.2 GB 982 1.1 s
02:30Z 42.4 GB 24.9 GB 1,705 1.2 s
03:01Z 43.7 GB 23.6 GB 2,803 1.8 s
03:15Z 44.7 GB 22.2 GB 3,111

The first quarter hour is the restore of every open run. After it: 9.6 GB in 2 h 36 min. It reaches the limit more often as it goes: about 150 times per quarter hour early, 430 to 670 now.

What grows (the server's own "what the server holds" line)

Time Resident Runs kept Run checks Claim waiters Tasks Known reads
00:37Z 33.5 GB 841 477,652 455,077 108,844 3.43 M
01:42Z 37.8 GB 909 518,078 517,197 121,903 4.19 M
02:42Z 41.3 GB 943 561,537 628,649 129,209 3.28 M
03:12Z 42.5 GB 963 584,220 660,469 135,931
  • The read sets are not it: known_reads fell between 01:42Z and 02:42Z while resident memory rose 3.4 GB.
  • Runs kept, their checks, the claims' keys, holders, waiters and listeners, and tasks all rise together. From 00:37Z to 03:12Z: 9.0 GB for 122 more runs and 106,568 more checks, about 74 MB a run or 84 KB a check.

What the open runs are (03:16Z, t.runs with no end)

  • 437 CI heads, the oldest from 17:21Z on 11-12. About 30 arrive an hour since 23:00Z and about one an hour finishes. A head has about 1,250 checks.
  • 441 bisection probe runs, some open since 11-10: class probe starts almost nothing (14 probe jobs ended in six hours, 937 waiting).
  • 16 idle runs, 2 schedule runs, 50 people's runs.
  • Their waiting work lives in the server: t.jobs holds 56 rows for open runs while the server counts 58,835 jobs waiting.

Why I change nothing

  • A restart restores every open run: after the 00:22Z restart anonymous memory went from 24.7 to 35.1 GB in 16 minutes.
  • A higher limit is capacity for a symptom.
  • What would help is fewer open runs or less kept in memory for a check that only waits. The first is the backlog, which is a decision for the people who own the cadence and the node's shares. The second is a change to what a waiting check holds, which I have not designed.

Related: #48 (claims held by runs that never finish), #53 (the scheduler's pass over the same queue, past 5 s since 02:47Z).

03:27Z: the cluster's own measure of the server pod (kubectl top, its working set) passed 45 GiB: 45,019 MiB at 03:26:58Z, of a 64 GiB limit. No restart: the pod is the one started at 00:22:16Z with 0 container restarts, and the server answers.

A restart does not empty it (promote of 618f31ea, 04:39Z 11-14)

Server Age Anonymous memory
started 00:22Z 1 min 24.7 GB
8 min 33.9 GB
2 h 9 min 42.6 GB
4 h 8 min 46.9 GB
started 04:39Z 1 min 30.4 GB
3.5 min 37.3 GB
  • The old server ended at 47.4 GB of anonymous memory. The new one held 37.3 GB three and a half minutes after its start: taking over the open runs brings most of it back at once.
  • Both servers filled the container's 64 GiB within two minutes of starting. The rest is page cache, given back on demand, which is what the limit events count (5,194 by the old server's end). Anonymous memory is the figure to watch.
  • Between 00:31Z and 04:30Z it grew 13 GB, about 3 GB an hour, as before.

Three starts side by side (08:00Z 11-14)

Anonymous memory in GB by minutes since the server started:

Build 5 10 30 60 90 97 120 180 240
c2d52b34, started 00:22Z 33.4 34.2 36.8 39.2 40.3 40.9 42.3 45.5 47.3
618f31ea, started 04:39Z 37.4 38.9 40.7 42.0 43.7 44.0
67588367, started 06:21Z 34.2 38.6 39.3 39.6 43.0 43.7
  • From 30 to 95 minutes it grew 3.8, 2.9 and 3.8 GB an hour.
  • The lookup rewrite (acae515a, in 67588367) changed neither the level nor the growth in its first 97 minutes.

c6dca088 holds more at the same age, with the same runs (09:31Z 11-14)

Anonymous memory in GB by minutes since the server started:

Build 5 10 20 30
c2d52b34, started 00:22Z 33.4 34.2 35.5 36.8
618f31ea, started 04:39Z 37.4 38.9 40.2 40.7
67588367, started 06:21Z 34.2 38.6 38.9 39.3
c6dca088, started 08:56Z 40.8 43.1 44.0 44.3

The servers' own holdings line about thirty minutes after each start:

618f31ea 67588367 c6dca088
resident_mb 38,845 37,644 42,127
committed_mb 47,815 43,630 53,775
runs 1,000 1,001 1,017
run_checks 656,324 663,230 663,056
claim_keys 595,551 562,390 589,497
claim_waiters 636,780 539,471 571,795
claim_listeners 730,738 651,391 687,993
lookup_sets 105,002 108,604 114,731
lookup_entries 27,039 45,088 53,373
tasks 173,501 178,693 185,188
  • c6dca088 holds about 10% more resident and 18% more committed memory at the same age. Its runs, checks, claims, waiters and listeners are within a few percent of the builds before it.
  • Nothing the line counts grew alike, except lookup_entries, which had already grown on 67588367. So the line does not say where the extra 3 to 4 GB sit. c6dca088 changes what a waiter keeps between reads; that state has no count in the line.
  • At 44.7 GB at 33 minutes and 3 to 4 GB an hour, the server reaches the level where the last one was replaced in about two hours.

One hour on c6dca088 (10:00Z): 45.7 GB anonymous, against 39.2, 42.0 and 39.6 GB at one hour for c2d52b34, 618f31ea and 67588367. From 30 to 60 minutes it grew 1.4 GB, about 2.8 GB an hour, as the builds before it did. So the extra 4 to 6 GB is a level set at the takeover, not faster growth.

2026-11-14 16:10Z: a constant 41 to 42 MB an open run through six server starts; the backlog is what grows it

From the server's own line ("what the server holds") and its container's memory.stat, for each of today's server pods:

server start (Z) open runs at start at its last reading resident then MB a run anon 40 min after start
08:56 1,018 1,052 44.7 GB 42 44.6 GB
11:00 1,051 1,055 43.7 GB 41 45.9 GB
11:46 1,062 1,069 43.9 GB 41 43.8 GB
13:03 1,066 1,097 45.1 GB 41 45.2 GB
14:58 1,092 1,100 44.9 GB 41 (27 min: 47.2 GB)
15:26 1,097 1,117 46.8 GB 42 49.0 GB

A restart gives nothing back: each start is at 40 to 48 GB again within ten minutes. What moves the figure is the count of open runs, about 14 more an hour today as head runs arrive faster than they finish (#74). Anonymous memory was 49.0 GB at 16:08Z under a 64 GiB limit, the container itself at the limit with file cache (memory.events max rising about 50 a minute, memory stalls about 0.1 s a minute). At 14 runs an hour that is roughly 0.6 GB an hour, so about a day of room if the backlog keeps growing as today, less with the two to three GB a start adds at its peak.

18:21Z: under the 17:09Z server (b087f0ab), 70 minutes up, resident reached 48.25 GB (committed 60.7 GB) with 1,133 open runs, the day's highest; it rose about 1 GB in twenty minutes while open runs fell from 1,146 to 1,133, so there is growth with uptime on top of the 41 to 43 MB a run. Container: anon by minutes of uptime: +10 47.5, +20 48.7, +30 49.1, +40 49.4, +50 49.4, +60 49.9, +70 50.4; last 50.4 GB; over the last 30 min +1.0 GB, over the last 60 min +2.9 GB. Limit 64 GiB.

2026-11-14 18:22Z: what grows with uptime is not the read sets

The server's own line ("what the server holds"), from its second reading after a start to its last, for four of today's servers:

server start (Z) minutes read open runs resident GB graph units claim keys claim waiters tasks
08:56 110 1,028 to 1,052 40.5 to 44.7 1,700,513 to 1,811,325 586,009 to 619,055 555,989 to 617,019 184,602 to 196,557
13:03 100 1,073 to 1,097 39.4 to 45.1 1,840,890 to 1,980,756 633,714 to 673,335 604,948 to 656,348 202,837 to 216,838
15:27 70 1,107 to 1,128 40.5 to 47.5 898,767 to 2,008,284 499,075 to 707,630 473,235 to 694,066 137,780 to 229,268
17:09 65 1,137 to 1,133 41.6 to 48.2 1,468,638 to 2,092,586 679,768 to 733,034 657,432 to 723,125 214,047 to 239,229

Under the current server (17:09Z, 65 minutes between the readings) open runs went 1,137 to 1,133 and known read sets FELL (2,646,709 to 2,558,243, the bound of c9a90033 at work), while resident rose 6.7 GB. What rose with it: unit graphs kept (508 to 799 graphs, 1.47 M to 2.09 M graph units), claims (keys +53,000, waiters +66,000, listeners +66,000) and tasks (214,047 to 239,229). Read with the table, most of that rise is the refill after a restart: the two afternoon servers were read while still filling (graph units 0.90 M and 1.47 M at the second reading) and end near the 2.0 to 2.1 M the morning's reached. The drift proper shows in the two long-lived morning servers: graph units +6.5% and +7.6%, claim keys +5.6% and +6.3%, tasks +6.5% and +6.9% in 100 to 110 minutes, with open runs +2.3%. Resident at each server's last reading is 41 to 43 MB an open run throughout. So: memory is set by open runs; graphs, claims and tasks drift a few percent an hour beyond them; read sets do not grow. Anonymous memory by minutes of uptime under this server: +10 47.5, +20 48.7, +30 49.1, +40 49.4, +50 49.4, +60 49.9, +70 50.4 GB; about 2 GB an hour now, nine hours of room under the 64 GiB limit if nothing restarts it.

2026-11-15 03:50Z: the same server with 170 open runs instead of 1,130: about 30 to 35 MB a run on a base, and memory that only half comes back

Between 23:26Z and 23:34Z on 11-14 someone stopped 567 head runs and 535 other runs through the API (not me; see #74), and at 00:06Z I promoted 22b5bc22 (#77). So for the first time there are readings of this server with few runs open.

server pod, start open runs resident at about 15 to 20 min later
five pods of 11-14, 15:27Z to 20:49Z 1,105 to 1,143 43.7 to 46.5 GB 47.5 to 49.5 GB after one to two hours
t-76b848f64-c9dj7, 00:06Z 11-15 164 to 178 12.2 GB (00:26Z) 19.8 GB at 01:26Z, 19.8 at 02:26Z, 20.1 at 03:41Z

Three things follow.

The "41 to 43 MB an open run" above was a ratio at one size, not a slope. At the same age, 15 to 20 minutes: 12.2 GB at 164 runs against 43.7 to 46.5 GB at about 1,125, which is about 35 MB a run on a base of about 6 GB. Settled, after an hour or more: 20 GB at about 170 runs against 47.5 to 49.5 GB at about 1,130, which is about 30 MB a run on a base of about 15 GB. Two sizes cannot say more than that; either way it is not 41 to 43 MB times the runs (resident a run here is 74 MB at 00:26Z and 113 MB at 03:41Z).

The drift is smaller with fewer runs open, about in proportion. Anonymous memory of this pod each half hour from 00:20Z: 12.5, 17.9, 20.4, 20.3, 20.2 GB, then 21.2 GB at 03:20Z: level within 1 GB for two hours after the first 75 minutes, against about 2 GB an hour with 1,130 runs open.

What the server lets go of does not come back to the container. On this pod from 01:26Z to 03:41Z its own counts fell (graph units 341,655 to 254,094, claim keys 77,280 to 46,892, claim holders 38,181 to 19,935, run checks 79,474 to 60,219, tasks 24,246 to 17,355) while resident went from 19,777 to 20,111 MB and committed from 28,611 to 31,436 MB. On the pod before it the cancel took open runs from 1,154 (23:19Z) to 160 (23:59Z) and run checks from 776,512 to 49,885; resident fell only from 49,550 to 24,375 MB and committed went from 59,830 to 60,106 MB. So only part of what is let go comes back: after 86% of the runs and 94% of the run checks were gone, the server still held half its resident memory and all of its committed memory, and a backlog that has drained keeps costing that until the next restart.

For the limit this means: at today's 160 to 180 open runs the server sits at 20 GB of 64; it is the backlog of open runs (1,100 on 11-14) that takes it to the limit, at about 30 to 35 MB a run plus about 2 MB a run an hour. I change nothing here; the figures are for whoever bounds what an open run holds.

The production server's memory grows by about 3 GB an hour and it follows the number of open runs, not the read sets. Its container is already at its 64 GiB limit through file cache, and anonymous memory alone reaches that limit in about eight hours at the present rate. Nothing is failing yet. Read 03:16Z 11-14 on c2d52b34 (server pod started 00:22Z). ## The container (cgroup, one line a minute) | Time | Anonymous | File cache | Times at the limit so far | Stalled on memory in the 15 min before | |---|---|---|---|---| | 00:23Z | 24.7 GB | 21.6 GB | 0 | 0 s | | 00:39Z | 35.1 GB | 32.7 GB | 166 | 1.6 s | | 01:10Z | 38.7 GB | 21.4 GB | 482 | 0.8 s | | 01:58Z | 41.2 GB | 26.2 GB | 982 | 1.1 s | | 02:30Z | 42.4 GB | 24.9 GB | 1,705 | 1.2 s | | 03:01Z | 43.7 GB | 23.6 GB | 2,803 | 1.8 s | | 03:15Z | 44.7 GB | 22.2 GB | 3,111 | | The first quarter hour is the restore of every open run. After it: 9.6 GB in 2 h 36 min. It reaches the limit more often as it goes: about 150 times per quarter hour early, 430 to 670 now. ## What grows (the server's own "what the server holds" line) | Time | Resident | Runs kept | Run checks | Claim waiters | Tasks | Known reads | |---|---|---|---|---|---|---| | 00:37Z | 33.5 GB | 841 | 477,652 | 455,077 | 108,844 | 3.43 M | | 01:42Z | 37.8 GB | 909 | 518,078 | 517,197 | 121,903 | 4.19 M | | 02:42Z | 41.3 GB | 943 | 561,537 | 628,649 | 129,209 | 3.28 M | | 03:12Z | 42.5 GB | 963 | 584,220 | 660,469 | 135,931 | | - The read sets are not it: `known_reads` fell between 01:42Z and 02:42Z while resident memory rose 3.4 GB. - Runs kept, their checks, the claims' keys, holders, waiters and listeners, and tasks all rise together. From 00:37Z to 03:12Z: 9.0 GB for 122 more runs and 106,568 more checks, about 74 MB a run or 84 KB a check. ## What the open runs are (03:16Z, `t.runs` with no end) - 437 CI heads, the oldest from 17:21Z on 11-12. About 30 arrive an hour since 23:00Z and about one an hour finishes. A head has about 1,250 checks. - 441 bisection probe runs, some open since 11-10: class `probe` starts almost nothing (14 probe jobs ended in six hours, 937 waiting). - 16 idle runs, 2 schedule runs, 50 people's runs. - Their waiting work lives in the server: `t.jobs` holds 56 rows for open runs while the server counts 58,835 jobs waiting. ## Why I change nothing - A restart restores every open run: after the 00:22Z restart anonymous memory went from 24.7 to 35.1 GB in 16 minutes. - A higher limit is capacity for a symptom. - What would help is fewer open runs or less kept in memory for a check that only waits. The first is the backlog, which is a decision for the people who own the cadence and the node's shares. The second is a change to what a waiting check holds, which I have not designed. Related: #48 (claims held by runs that never finish), #53 (the scheduler's pass over the same queue, past 5 s since 02:47Z). **03:27Z:** the cluster's own measure of the server pod (`kubectl top`, its working set) passed 45 GiB: 45,019 MiB at 03:26:58Z, of a 64 GiB limit. No restart: the pod is the one started at 00:22:16Z with 0 container restarts, and the server answers. ## A restart does not empty it (promote of 618f31ea, 04:39Z 11-14) | Server | Age | Anonymous memory | |---|---|---| | started 00:22Z | 1 min | 24.7 GB | | | 8 min | 33.9 GB | | | 2 h 9 min | 42.6 GB | | | 4 h 8 min | 46.9 GB | | started 04:39Z | 1 min | 30.4 GB | | | 3.5 min | 37.3 GB | - The old server ended at 47.4 GB of anonymous memory. The new one held 37.3 GB three and a half minutes after its start: taking over the open runs brings most of it back at once. - Both servers filled the container's 64 GiB within two minutes of starting. The rest is page cache, given back on demand, which is what the limit events count (5,194 by the old server's end). Anonymous memory is the figure to watch. - Between 00:31Z and 04:30Z it grew 13 GB, about 3 GB an hour, as before. ## Three starts side by side (08:00Z 11-14) Anonymous memory in GB by minutes since the server started: | Build | 5 | 10 | 30 | 60 | 90 | 97 | 120 | 180 | 240 | |---|---|---|---|---|---|---|---|---|---| | c2d52b34, started 00:22Z | 33.4 | 34.2 | 36.8 | 39.2 | 40.3 | 40.9 | 42.3 | 45.5 | 47.3 | | 618f31ea, started 04:39Z | 37.4 | 38.9 | 40.7 | 42.0 | 43.7 | 44.0 | | | | | 67588367, started 06:21Z | 34.2 | 38.6 | 39.3 | 39.6 | 43.0 | 43.7 | | | | - From 30 to 95 minutes it grew 3.8, 2.9 and 3.8 GB an hour. - The lookup rewrite (acae515a, in 67588367) changed neither the level nor the growth in its first 97 minutes. ## c6dca088 holds more at the same age, with the same runs (09:31Z 11-14) Anonymous memory in GB by minutes since the server started: | Build | 5 | 10 | 20 | 30 | |---|---|---|---|---| | c2d52b34, started 00:22Z | 33.4 | 34.2 | 35.5 | 36.8 | | 618f31ea, started 04:39Z | 37.4 | 38.9 | 40.2 | 40.7 | | 67588367, started 06:21Z | 34.2 | 38.6 | 38.9 | 39.3 | | c6dca088, started 08:56Z | 40.8 | 43.1 | 44.0 | 44.3 | The servers' own holdings line about thirty minutes after each start: | | 618f31ea | 67588367 | c6dca088 | |---|---|---|---| | resident_mb | 38,845 | 37,644 | 42,127 | | committed_mb | 47,815 | 43,630 | 53,775 | | runs | 1,000 | 1,001 | 1,017 | | run_checks | 656,324 | 663,230 | 663,056 | | claim_keys | 595,551 | 562,390 | 589,497 | | claim_waiters | 636,780 | 539,471 | 571,795 | | claim_listeners | 730,738 | 651,391 | 687,993 | | lookup_sets | 105,002 | 108,604 | 114,731 | | lookup_entries | 27,039 | 45,088 | 53,373 | | tasks | 173,501 | 178,693 | 185,188 | - c6dca088 holds about 10% more resident and 18% more committed memory at the same age. Its runs, checks, claims, waiters and listeners are within a few percent of the builds before it. - Nothing the line counts grew alike, except `lookup_entries`, which had already grown on 67588367. So the line does not say where the extra 3 to 4 GB sit. c6dca088 changes what a waiter keeps between reads; that state has no count in the line. - At 44.7 GB at 33 minutes and 3 to 4 GB an hour, the server reaches the level where the last one was replaced in about two hours. **One hour on c6dca088 (10:00Z):** 45.7 GB anonymous, against 39.2, 42.0 and 39.6 GB at one hour for c2d52b34, 618f31ea and 67588367. From 30 to 60 minutes it grew 1.4 GB, about 2.8 GB an hour, as the builds before it did. So the extra 4 to 6 GB is a level set at the takeover, not faster growth. ## 2026-11-14 16:10Z: a constant 41 to 42 MB an open run through six server starts; the backlog is what grows it From the server's own line ("what the server holds") and its container's `memory.stat`, for each of today's server pods: | server start (Z) | open runs at start | at its last reading | resident then | MB a run | anon 40 min after start | |---|---|---|---|---|---| | 08:56 | 1,018 | 1,052 | 44.7 GB | 42 | 44.6 GB | | 11:00 | 1,051 | 1,055 | 43.7 GB | 41 | 45.9 GB | | 11:46 | 1,062 | 1,069 | 43.9 GB | 41 | 43.8 GB | | 13:03 | 1,066 | 1,097 | 45.1 GB | 41 | 45.2 GB | | 14:58 | 1,092 | 1,100 | 44.9 GB | 41 | (27 min: 47.2 GB) | | 15:26 | 1,097 | 1,117 | 46.8 GB | 42 | 49.0 GB | A restart gives nothing back: each start is at 40 to 48 GB again within ten minutes. What moves the figure is the count of open runs, about 14 more an hour today as head runs arrive faster than they finish (#74). Anonymous memory was 49.0 GB at 16:08Z under a 64 GiB limit, the container itself at the limit with file cache (`memory.events` max rising about 50 a minute, memory stalls about 0.1 s a minute). At 14 runs an hour that is roughly 0.6 GB an hour, so about a day of room if the backlog keeps growing as today, less with the two to three GB a start adds at its peak. **18:21Z:** under the 17:09Z server (b087f0ab), 70 minutes up, resident reached 48.25 GB (committed 60.7 GB) with 1,133 open runs, the day's highest; it rose about 1 GB in twenty minutes while open runs fell from 1,146 to 1,133, so there is growth with uptime on top of the 41 to 43 MB a run. Container: anon by minutes of uptime: +10 47.5, +20 48.7, +30 49.1, +40 49.4, +50 49.4, +60 49.9, +70 50.4; last 50.4 GB; over the last 30 min +1.0 GB, over the last 60 min +2.9 GB. Limit 64 GiB. ## 2026-11-14 18:22Z: what grows with uptime is not the read sets The server's own line ("what the server holds"), from its second reading after a start to its last, for four of today's servers: | server start (Z) | minutes read | open runs | resident GB | graph units | claim keys | claim waiters | tasks | |---|---|---|---|---|---|---|---| | 08:56 | 110 | 1,028 to 1,052 | 40.5 to 44.7 | 1,700,513 to 1,811,325 | 586,009 to 619,055 | 555,989 to 617,019 | 184,602 to 196,557 | | 13:03 | 100 | 1,073 to 1,097 | 39.4 to 45.1 | 1,840,890 to 1,980,756 | 633,714 to 673,335 | 604,948 to 656,348 | 202,837 to 216,838 | | 15:27 | 70 | 1,107 to 1,128 | 40.5 to 47.5 | 898,767 to 2,008,284 | 499,075 to 707,630 | 473,235 to 694,066 | 137,780 to 229,268 | | 17:09 | 65 | 1,137 to 1,133 | 41.6 to 48.2 | 1,468,638 to 2,092,586 | 679,768 to 733,034 | 657,432 to 723,125 | 214,047 to 239,229 | Under the current server (17:09Z, 65 minutes between the readings) open runs went 1,137 to 1,133 and known read sets FELL (2,646,709 to 2,558,243, the bound of c9a90033 at work), while resident rose 6.7 GB. What rose with it: unit graphs kept (508 to 799 graphs, 1.47 M to 2.09 M graph units), claims (keys +53,000, waiters +66,000, listeners +66,000) and tasks (214,047 to 239,229). Read with the table, most of that rise is the refill after a restart: the two afternoon servers were read while still filling (graph units 0.90 M and 1.47 M at the second reading) and end near the 2.0 to 2.1 M the morning's reached. The drift proper shows in the two long-lived morning servers: graph units +6.5% and +7.6%, claim keys +5.6% and +6.3%, tasks +6.5% and +6.9% in 100 to 110 minutes, with open runs +2.3%. Resident at each server's last reading is 41 to 43 MB an open run throughout. So: memory is set by open runs; graphs, claims and tasks drift a few percent an hour beyond them; read sets do not grow. Anonymous memory by minutes of uptime under this server: +10 47.5, +20 48.7, +30 49.1, +40 49.4, +50 49.4, +60 49.9, +70 50.4 GB; about 2 GB an hour now, nine hours of room under the 64 GiB limit if nothing restarts it. ## 2026-11-15 03:50Z: the same server with 170 open runs instead of 1,130: about 30 to 35 MB a run on a base, and memory that only half comes back Between 23:26Z and 23:34Z on 11-14 someone stopped 567 head runs and 535 other runs through the API (not me; see #74), and at 00:06Z I promoted 22b5bc22 (#77). So for the first time there are readings of this server with few runs open. | server pod, start | open runs | resident at about 15 to 20 min | later | |---|---|---|---| | five pods of 11-14, 15:27Z to 20:49Z | 1,105 to 1,143 | 43.7 to 46.5 GB | 47.5 to 49.5 GB after one to two hours | | t-76b848f64-c9dj7, 00:06Z 11-15 | 164 to 178 | 12.2 GB (00:26Z) | 19.8 GB at 01:26Z, 19.8 at 02:26Z, 20.1 at 03:41Z | Three things follow. **The "41 to 43 MB an open run" above was a ratio at one size, not a slope.** At the same age, 15 to 20 minutes: 12.2 GB at 164 runs against 43.7 to 46.5 GB at about 1,125, which is about 35 MB a run on a base of about 6 GB. Settled, after an hour or more: 20 GB at about 170 runs against 47.5 to 49.5 GB at about 1,130, which is about 30 MB a run on a base of about 15 GB. Two sizes cannot say more than that; either way it is not 41 to 43 MB times the runs (resident a run here is 74 MB at 00:26Z and 113 MB at 03:41Z). **The drift is smaller with fewer runs open, about in proportion.** Anonymous memory of this pod each half hour from 00:20Z: 12.5, 17.9, 20.4, 20.3, 20.2 GB, then 21.2 GB at 03:20Z: level within 1 GB for two hours after the first 75 minutes, against about 2 GB an hour with 1,130 runs open. **What the server lets go of does not come back to the container.** On this pod from 01:26Z to 03:41Z its own counts fell (graph units 341,655 to 254,094, claim keys 77,280 to 46,892, claim holders 38,181 to 19,935, run checks 79,474 to 60,219, tasks 24,246 to 17,355) while resident went from 19,777 to 20,111 MB and committed from 28,611 to 31,436 MB. On the pod before it the cancel took open runs from 1,154 (23:19Z) to 160 (23:59Z) and run checks from 776,512 to 49,885; resident fell only from 49,550 to 24,375 MB and committed went from 59,830 to 60,106 MB. So only part of what is let go comes back: after 86% of the runs and 94% of the run checks were gone, the server still held half its resident memory and all of its committed memory, and a backlog that has drained keeps costing that until the next restart. For the limit this means: at today's 160 to 180 open runs the server sits at 20 GB of 64; it is the backlog of open runs (1,100 on 11-14) that takes it to the limit, at about 30 to 35 MB a run plus about 2 MB a run an hour. I change nothing here; the figures are for whoever bounds what an open run holds.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tilo/t#69
No description provided.