Project

Profile

Help

Issue #8830

closed

Memory leak in openapi.json schema generation.

Added by osapryki over 3 years ago. Updated almost 3 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:
Sprint 112
Quarter:

Description

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


The issue was reproduced in the Automation Hub project.

Requests to openapi.json schema cause uncontrolled growth of memory usage by gunicorn workers and eventually gunicorn worker being killed by OOMKiller.

Steps to reproduce:

Local test environment:

  • Minikube instance.
  • galaxy-api container configured with memory request\limit of 4 GiB of RAM
  • 4 gunicorn workers

After ~1200 requests to openapi.json gunicorn worker was killed due to OOM and restarted by gunicorn master process.

Actions #1

Updated by daviddavis over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
  • Triaged changed from No to Yes
  • Sprint set to Sprint 97
Actions #2

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #3

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 97 to Sprint 98
Actions #4

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 98 to Sprint 99
Actions #5

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 99 to Sprint 100
Actions #6

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 100 to Sprint 101
Actions #7

Updated by ipanova@redhat.com over 3 years ago

  • Sprint changed from Sprint 101 to Sprint 102
Actions #8

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 102 to Sprint 103
Actions #9

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 103 to Sprint 104
Actions #10

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 104 to Sprint 105
Actions #11

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 105 to Sprint 106
Actions #12

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 106 to Sprint 107
Actions #13

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #14

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #15

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #16

Updated by rchan almost 3 years ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #17

Updated by rchan almost 3 years ago

  • Sprint changed from Sprint 111 to Sprint 112
Actions #18

Updated by pulpbot almost 3 years ago

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

Also available in: Atom PDF