LimitNOFILE and LimitNPROC not being observed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The lxd systemd service file sets:
LimitNOFILE=-1
LimitNPROC=-1
However, on a Xenial install, I still see the standard limits being set of 1024 and 4096 on the LXD process; this causes a juju bootstrap using the new LXD provider in 1.26alpha2 to fail, as the MongoDB instance it runs tries to hike the file and process limits up and can't.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxd 0.23-0ubuntu2 [modified: lib/systemd/
ProcVersionSign
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Dec 2 11:33:54 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-25 (371 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124)
SourcePackage: lxd
UpgradeStatus: Upgraded to xenial on 2015-11-02 (30 days ago)
Hi James,
Instead of -1, can you set the string "infinity" and see if that does the trick (you'll need to stop all lxd units, do a daemon reload and then start them again).