Project

Profile

Help

Issue #8296

closed

Pulp worker directories not cleaned up

Added by wibbit about 3 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
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

Ticket moved to GitHub: "pulp/pulpcore/1973":https://github.com/pulp/pulpcore/issues/1973


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

Files

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 SyncCLOSED - CURRENTRELEASElmjachkyActions
Actions #1

Updated by wibbit about 3 years 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.

Actions #2

Updated by fao89 about 3 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by dalley about 3 years ago

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

Updated by dalley about 3 years ago

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

Updated by dalley about 3 years ago

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

Updated by dalley over 2 years ago

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

Actions #7

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF