HomePhabricator

Increase memory allocation of weekly update job

Tags
None
Referenced Files
None
Subscribers
None

Description

Increase memory allocation of weekly update job

Since the move to the toolforge-jobs framework (3a93a59f),
the weekly job has often failed with OOMKilled. [1]

According to the docs, jobs get by default 512Mi memory [2].
On the Grid Engine, the job always ran with 1GB.

Let's increase to 1GB like it used to be.

[1] Email content:

* Job 'weekly-update-wikidata' (cronjob) (emails: all) had 2 events:
  -- Pod 'weekly-update-wikidata-28568214-7xv2n'. Phase: 'running'. Container state: 'terminated'. Start timestamp 2024-04-26T00:54:04Z. Finish timestamp 2024-04-26T14:53:22Z. Exit code was '137'. With reason 'OOMKilled'.
  -- Pod 'weekly-update-wikidata-28568214-7xv2n'. Phase: 'failed'. Container state: 'terminated'. Start timestamp 2024-04-26T00:54:04Z. Finish timestamp 2024-04-26T14:53:22Z. Exit code was '137'. With reason 'OOMKilled'.

[2] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework#Job_quotas

Details

Provenance
JeanFredAuthored on May 4 2024, 8:29 PM
Parents
R2566:51ba697205ca: Use `get_predicate` in `get_info_no_grouping_query`
Branches
Unknown
Tags
Unknown
ChangeId
None