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
(cherry picked from commit 52310fa864)
(cherry picked from commit 2a5e0086e1)
This commit is contained in:
Eric Harney 2017-03-09 11:25:53 -05:00
parent df539f51d4
commit 46799c4ff5
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,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,