Skip to content

Memory usage in createrepo_c > 1 #443

@kwizart

Description

@kwizart

Current createrepo_c uses lot more memory than previous versions. There is a need to discover why and if it's legitimate.

With our koji infra migrated to createrepo_c 1+ (at rpmfusion.org), we have experienced lot or OOM error on koji regen-repo tasks. Our builders only have 4Go of RAM and previously could have handled 4 mergerepos_c (<1) tasks at the same time (one for each arches). But with createrepo_c > 1, we could only handle 3 of same without OOM.

We have found a workaround with tuning koji task weight but we need to figure out why theses task use lot more memory (about 1,1G each) over previous createrepo_c.

Side node: we are using createrepo_c from updated fedora f39/f40 (not the fedora infra-tags version when relevant).

Metadata

Metadata

Assignees

Labels

TriagedSomeone on the DNF team has read the issue and determined the next steps to take

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions