mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-01 10:51:12 +00:00
d5572f62e3
Some VM configurations may result in a large number of threads created by the associated qemu process which can exceed the system default limit. The maximum number of threads allowed per process is controlled by the pids cgroup controller and is set to 16k when creating VMs with systemd's machined service. The maximum number of threads per process is recorded in the pids.max file under the machine's pids controller cgroup hierarchy, e.g. $cgrp-mnt/pids/machine.slice/machine-qemu\\x2d1\\x2dtest.scope/pids.max Maximum threads per process is controlled with the TasksMax property of the systemd scope for the machine. This patch adds an option to qemu.conf which can be used to override the maximum number of threads allowed per qemu process. If the value of option is greater than zero, it will be set in the TasksMax property of the machine's scope after creating the machine. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> |
||
---|---|---|
.. | ||
libvirtd_lxc.aug | ||
lxc_cgroup.c | ||
lxc_cgroup.h | ||
lxc_conf.c | ||
lxc_conf.h | ||
lxc_container.c | ||
lxc_container.h | ||
lxc_controller.c | ||
lxc_domain.c | ||
lxc_domain.h | ||
lxc_driver.c | ||
lxc_driver.h | ||
lxc_fuse.c | ||
lxc_fuse.h | ||
lxc_hostdev.c | ||
lxc_hostdev.h | ||
lxc_monitor_protocol.x | ||
lxc_monitor.c | ||
lxc_monitor.h | ||
lxc_native.c | ||
lxc_native.h | ||
lxc_process.c | ||
lxc_process.h | ||
lxc.conf | ||
Makefile.inc.am | ||
test_libvirtd_lxc.aug.in |