libvirt/src/lxc
Jim Fehlig d5572f62e3 qemu: Add support for overriding max threads per process limit
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>
2019-07-24 15:59:49 -06:00
..
libvirtd_lxc.aug
lxc_cgroup.c qemu: Add support for overriding max threads per process limit 2019-07-24 15:59:49 -06:00
lxc_cgroup.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_conf.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
lxc_conf.h lxc: acquire a pidfile in the driver root directory 2019-07-11 12:46:20 +01:00
lxc_container.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_container.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_controller.c remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
lxc_domain.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
lxc_domain.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_driver.c all: don't wait for driver lock during startup 2019-07-15 13:36:45 +01:00
lxc_driver.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_fuse.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
lxc_fuse.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_hostdev.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_hostdev.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_monitor_protocol.x
lxc_monitor.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
lxc_monitor.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_native.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
lxc_native.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_process.c lxc, libxl: save domain status after reconnect 2019-06-17 15:44:58 +01:00
lxc_process.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc.conf
Makefile.inc.am maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
test_libvirtd_lxc.aug.in