gitlab-org--gitlab-foss/changelogs/unreleased/sh-cleanup-pages-worker.yml
Stan Hu cc82abbde0 Free open file descriptors and libgit2 buffers in UpdatePagesService
In UpdatePagesService, we were seeing a large number of open pack files in
production. Calling Project#cleanup removes a reference to Rugged::Repository
and forces libgit2 to close file descriptors and free its internal memory
cache.

Relates to https://gitlab.com/gitlab-com/infrastructure/issues/3965#note_65837525
2018-03-30 01:23:57 -07:00

5 lines
121 B
YAML

---
title: Free open file descriptors and libgit2 buffers in UpdatePagesService
merge_request:
author:
type: performance