Project

Profile

Help

Task #808

closed

Set heartbeat timeout for pulp_workers and pulp_resource_manager to 30 seconds

Added by bmbouter over 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.7.1
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
April 2015
Quarter:

Description

pulp_workers and pulp_resource_manager both use vanilla Celery heartbeats. I believe the default is 2 seconds. We should adjust that to 30 seconds since we aren't benefiting from such a quick heartbeat interval. pulp_resource_manager and pulp_workers should use the heartbeat-interval command line option to set this.

Deliverables:

  • Add in command line option for pulp_workers to use --heartbeat-interval
  • Add in command line option for pulp_resource_manager to use --heartbeat-interval
  • ensure both work on EL6 and EL7 because they use different init systems (systemd vs upstart)
  • Verify that traffic to mongodb decreases for an idle system (consider using iotop)

Also available in: Atom PDF