Skip to content

Update memory allocation and container parallelisation#405

Merged
simon-20 merged 3 commits into
developfrom
sk-update-config-to-prevent-crashing
Jun 11, 2026
Merged

Update memory allocation and container parallelisation#405
simon-20 merged 3 commits into
developfrom
sk-update-config-to-prevent-crashing

Conversation

@simon-20

@simon-20 simon-20 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

The memory usage of some containers scales with document size, because there is no streaming, and in June 2026 a set of four large documents ended up repeatedly crashing the workers in the Solrize stage. This PR and some alterations to GitHub env vars:

  • Reduces the parallelisation in the Lakify and Solrize stages
  • Adjusts the max memory for each container to its observed maximum over the past 30 days. This gives Lakify and Solrize more (in conjunction with reducing parallelisation), while also reducing container group consmption to 12 Gb, which should reduce cost per month.

simon-20 added 3 commits June 11, 2026 11:07
Adjusted memory usage based on observed caps for the non-crashing
containers, and estimates for the crashing containers. Parallelisation
for the crashing containers has been reduced: for lakify 10 > 3,
for Solrize (set via GitHub env vars) 4 > 2.
@simon-20 simon-20 requested a review from Bjwebb June 11, 2026 10:15
@simon-20 simon-20 merged commit 594e569 into develop Jun 11, 2026
2 checks passed
@simon-20 simon-20 deleted the sk-update-config-to-prevent-crashing branch June 11, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants