<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I am running OpenStack on a single physical node, installed with packstack â€”allinone. The host has 32gb of memory, 32 logical cores and currently runs a single VM with 16gb RAM allocated.  However, after just a few hours of usage, the host starts swapping. After inspection of the current memory usage, I see most of the OpenStack services have spawned multiple processed each which in total consume about 12gb of memory (shared+resident per process):</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier New" class="">MiB<span class="Apple-tab-span" style="white-space:pre">    </span>Process<span class="Apple-tab-span" style="white-space:pre">             </span># processes</font></div><div class=""><font face="Courier New" class="">3686.4  nova-api<span class="Apple-tab-span" style="white-space:pre">         </span>97</font></div><div class=""><font face="Courier New" class="">2355.2  neutron-server<span class="Apple-tab-span" style="white-space:pre">            </span>65</font></div><div class=""><font face="Courier New" class="">2048    nova-conductor <span class="Apple-tab-span" style="white-space:pre">              </span>33</font></div><div class=""><font face="Courier New" class="">1536    heat-engine <span class="Apple-tab-span" style="white-space:pre">         </span>33</font></div><div class=""><font face="Courier New" class="">819.2   glance-registry<span class="Apple-tab-span" style="white-space:pre">           </span>33</font></div><div class=""><font face="Courier New" class="">657     glance-api<span class="Apple-tab-span" style="white-space:pre">           </span>33</font></div><div class=""><font face="Courier New" class="">504.6   swift-proxy-ser<span class="Apple-tab-span" style="white-space:pre">           </span>33</font></div><div class=""><font face="Courier New" class="">183.9   neutron-metadat<span class="Apple-tab-span" style="white-space:pre">           </span>33</font></div><div class=""><font face="Courier New" class="">168.8   cinder-api<span class="Apple-tab-span" style="white-space:pre">                </span>33</font></div></div><div class=""><font face="Courier New" class=""><br class=""></font></div><div class="">According to the docs at <a href="http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html" class="">http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html</a>, OpenStack defaults the number of workers for each of this service to the number of logical cores on the server, but the nova-api and the neutron-servers seem to have multipliers of 3 and 2 respectively.</div><div class=""><br class=""></div><div class="">Since this machine will only run just a few (3-4) VMs and modifications or creation of guests will rarely occur once it has been fully set up, what are the minimum values that I could use in the relevant config files in order to decrease the memory usage of this services? Can I safely run a single worker for each of the internal services?</div><div class=""><br class=""></div><div class="">Thanks.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Alexander</div></body></html>