Project

Profile

Help

Issue #1779

closed

Repo Copy Memory Usage

Added by sysadmind over 8 years ago. Updated over 5 years ago.

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

Description

I've been having some problems with memory usage when trying to set up my pulp server. It appears that the memory is bloating when copying from one repo to another. Below is some snipped output from top after tasks have finished and the system is idle.

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                                                  
 3516 apache    20   0 3945872 3.141g   2848 S   0.0 55.4  77:13.18 celery                                                                                                                                                                   
 3513 apache    20   0  753988 139396   2076 S   0.0  2.3   1:20.90 celery                                                                                                                                                                   
 3063 apache    20   0 1156884 114524   3644 S   0.3  1.9   0:52.89 httpd 

You can see that celery never let go of all of its memory. I'm running Pulp 2.8 on a single vm running CentOS Linux release 7.2.1511 (Core) , 2 CPUs, and 6GB RAM. Some times the memory usage becomes so constrained that the OOM killer will kill MongoDB or other processes.

The script that I run to set up my local pulp server is located here: https://gist.github.com/sysadmind/c9ceba7399a6695f8ca6


Related issues

Related to Pulp - Story #2632: As a developer I want to reevaluate worker issues to see if they have been resolved by moving from Celery3 to Celery4CLOSED - WONTFIX

Actions

Also available in: Atom PDF