Tune kernel parameters to make LXD happy

Bug #1814988 reported by Alok G Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-juju-lxd
Won't Fix
Undecided
Unassigned

Bug Description

Per https://docs.openstack.org/charm-guide/latest/openstack-on-lxd.html#lxd there are some tunables that make LXD a lot more snappy for our openstack-on-lxd usecase.

This is the config I am using for tapairu (charmlab7):

aloksingh@tapairu:~$ cat /etc/sysctl.d/60-prod-lxd.conf
fs.inotify.max_queued_events=1048576
fs.inotify.max_user_instances=1048576
fs.inotify.max_user_watches=1048576
vm.max_map_count=262144
vm.swappiness=1

A reboot is required for the changes to take effect.

Revision history for this message
Eric Chen (eric-chen) wrote :

Close this very old issue

Changed in charm-juju-lxd:
status: New → Won't Fix
Revision history for this message
Andrea Ieri (aieri) wrote :

Additionally, this is already covered by the lxd charm: https://github.com/canonical/charm-lxd

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.