Bug 1290756 - LibVirt should set TasksMax for LXC VM
Summary: LibVirt should set TasksMax for LXC VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-11 11:11 UTC by Maksim
Modified: 2016-04-11 12:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 12:21:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Maksim 2015-12-11 11:11:26 UTC
Description of problem: systemd turns on TasksMax property for 4.3+ kernels, this prevents LXC containers started with libvirt to work properly, because default value (512) is too low, systemd-nspawn uses 8196, I think the same value libvirt should use also  


Version-Release number of selected component (if applicable):
1.3.0

How reproducible:

Create a LXC VM, start it and check the value of /sys/fs/cgroup/pids/machine.slice/machine-lxc\\x2d${VM_NAME}.scope/pids.max

Actual results:

pids.max shows 512, it is too low

Expected results:

should be at least 8196

Comment 1 Cole Robinson 2016-04-10 22:49:11 UTC
Are you still seeing this issue with latest packages?
What distro are you on? What systemd version is this?

Comment 2 Maksim 2016-04-11 12:21:01 UTC
with the latest systemd and libvirt it works fine. thank you. the max.pid value  is 16384 now.

Comment 3 Cole Robinson 2016-04-11 12:21:49 UTC
thanks, closing


Note You need to log in before you can comment on or make changes to this bug.