Is your feature request related to a problem? Please describe.
Memory leaks in Gunicorn can cause memory usage to steadily grow over time. We need a way to handle this problem.
Describe the solution you'd like
Enable gunicorn worker recycling that restarts gunicorn worker process every x number of requests so that any leaked memory is released.
This can be achieved by setting some environment variables that will be passed into pulp that will enable gunicorn worker recycling
Is your feature request related to a problem? Please describe. Memory leaks in Gunicorn can cause memory usage to steadily grow over time. We need a way to handle this problem.
Describe the solution you'd like Enable gunicorn worker recycling that restarts gunicorn worker process every x number of requests so that any leaked memory is released. This can be achieved by setting some environment variables that will be passed into pulp that will enable gunicorn worker recycling
Describe alternatives you've considered Using gunicorn.conf.py as documented in https://github.com/pulp/pulpcore/issues/2250#issuecomment-1069455371 does not work due to how s6-overlay works
Additional context Add any other context about the feature request here.