Bump prlimit cpu time for qemu-img from 2 to 8

Users have reported that the current CPU limit is not
sufficient for processing large enough images when
downloading images to volumes.

This mirrors a similar increase made in Nova (b78b1f8ce).

Closes-Bug: #1646181

Change-Id: I5edea7d1d19fd991e51dca963d2beb7004177498
This commit is contained in:
Eric Harney 2017-03-09 11:25:53 -05:00
parent 77a27b95a5
commit 52310fa864
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ CONF = cfg.CONF
CONF.register_opts(image_helper_opts)
QEMU_IMG_LIMITS = processutils.ProcessLimits(
cpu_time=2,
cpu_time=8,
address_space=1 * units.Gi)
# NOTE(abhishekk): qemu-img convert command supports raw, qcow2, qed,