Project

Profile

Help

Issue #8296

Pulp worker directories not cleaned up

Added by wibbit 5 months ago. Updated 11 days ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

While reviewing the directory structure of my pulp installation I noticed that the worker directories within WORKING_DIRECTORY do not appear to be cleaned up.

In this particular instance, I had over 100 directories of the ilk /var/cache/pulp/@

How to test.

  1. Shutdown all workers, and clean out the WORKING_DIRECTORY
  2. Stop/Start or Restart workers X times.
  3. Count directories in the WORKING_DIRECTORY, number = x * workers + 1
pulpcore-worker@0.service.txt (1.05 KB) pulpcore-worker@0.service.txt wibbit, 02/23/2021 11:23 AM
Example LS output.txt (4.97 KB) Example LS output.txt wibbit, 02/23/2021 11:26 AM

Related issues

Related to Pulp - Issue #8295: Disc Usage during Repository SyncMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by wibbit 5 months ago

I attached some examples.

Systemd .service file Example output from ls, as the workers are restarted.

I would have expected on a clean stop/restart of these processes they would clean up after themselves.

#2 Updated by fao89 5 months ago

  • Triaged changed from No to Yes

#3 Updated by dalley 5 months ago

  • Related to Issue #8295: Disc Usage during Repository Sync added

#4 Updated by dalley 5 months ago

  • Related to Issue #7316: Files are not being deleted from storage when calling the method delete() added

#5 Updated by dalley 5 months ago

  • Related to deleted (Issue #7316: Files are not being deleted from storage when calling the method delete())

#6 Updated by dalley 11 days ago

@wibbit let us know if you're continuing to see this with pulp 3.14

Please register to edit this issue

Also available in: Atom PDF