Ask Your Question

openstack services add thousands of processes [closed]

asked 2017-04-11 20:22:27 -0500

cfbatncgr gravatar image

Installed using packstack --allinone. On large machine, nproc==128, mem=1024GB. Not all services can be trimmed down using conf files. Why have 520 processes for Nova as default? This is Ocata under CentOS.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Bernd Bausch
close date 2017-04-14 03:52:08.645249


By default, the number of worker processes per Nova service is equal to the number of CPUs. nova.conf contains parameters that can change the default, e.g. osapi_compute_workers=1.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-12 18:58:31 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-13 17:57:04 -0500

cfbatncgr gravatar image

Thanks, I had that info previously. Yes, I was able to reduce Nova-related service processes somewhat by changing 128 in the conf file to 4. But not all services seemed to obey the hint, and some of them I have no idea where the configuration is really done. Seems like much of this stuff wants to configure by CPU nodes available and/or GB RAM available... Is there a reasonable strategy behind this?

edit flag offensive delete link more


I think the strategy to scale the number of workers according to the capacity of the host is quite reasonable. But which processes continue to bug you?

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-13 18:25:58 -0500 )edit

Your question becomes difficult to manage, since it exists twice. I will mark this one closed.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-14 03:51:51 -0500 )edit

Future discussions should go to

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-14 03:53:00 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-04-11 20:22:27 -0500

Seen: 128 times

Last updated: Apr 13 '17