Project

General

Profile

Bug #24333

clean_backend_objects batch size can cause issues on slower systems

Added by Chris Duryee about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The current candlepin batch size for clean_backend_objects is 15,000 uuids at a time.

On slower systems, this can result in timeouts or other issues. 1,500 is more responsive (12 sec to return from candlepin on a slower system)

Associated revisions

Revision 9b1a513a (diff)
Added by Chris Duryee about 1 year ago

Fixes #24333 - lower batch size for c_b_o

clean_backend_objects can occasionally timeout on slower systems when
fetching the candlepin uuid list.

This commit reduces the batch size from 15,000 to 1,500. On a slower
system, this call returns in 12 seconds. At 15,000 the call took
multiple minutes; the time to completion did not scale linearly with
the batch size.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7549 added

#2 Updated by Chris Duryee about 1 year ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Andrew Kofink about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0

Also available in: Atom PDF