Hello everyone! This was my configuration of osapi_compute_workers: osapi_compute_workers=24 But the number of processes on my controller was 58. root@controller10:~# ps -aux|grep nova-api nova 112811 0.8 0.1 286952 134384 ? Ss 11:51 2:13 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112828 4.4 0.1 478032 258960 ? R 11:51 12:15 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112829 2.6 0.1 470544 251428 ? S 11:51 7:26 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112830 5.0 0.1 482568 263480 ? S 11:51 13:59 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112831 4.6 0.2 484160 266240 ? R 11:51 12:59 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112832 2.3 0.1 477260 258832 ? S 11:51 6:37 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112833 4.5 0.2 483744 265512 ? S 11:51 12:31 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112834 4.9 0.2 492952 275884 ? S 11:51 13:39 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112835 2.5 0.1 468892 251244 ? S 11:51 7:10 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112836 5.0 0.1 480480 263424 ? S 11:51 13:54 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112837 4.7 0.2 493596 275996 ? S 11:51 13:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112838 3.7 0.1 474616 259336 ? S 11:51 10:27 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112839 5.4 0.2 485732 266648 ? S 11:51 15:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112840 4.7 0.1 482836 263748 ? S 11:51 13:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112841 4.6 0.2 517084 297508 ? S 11:51 12:52 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112842 3.0 0.2 491076 271984 ? S 11:51 8:34 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112843 3.8 0.2 487412 270360 ? S 11:51 10:35 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112844 3.0 0.1 469468 251676 ? S 11:51 8:29 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112845 4.5 0.2 489440 270884 ? S 11:51 12:36 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112846 4.3 0.2 493308 275760 ? S 11:51 12:11 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112847 4.5 0.2 490400 272936 ? S 11:51 12:39 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112848 4.3 0.1 482036 262968 ? S 11:51 12:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112849 5.6 0.2 486328 267240 ? S 11:51 15:32 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112850 4.3 0.2 483660 264580 ? S 11:51 12:03 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112851 4.4 0.2 482116 267096 ? S 11:51 12:17 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112875 0.0 0.1 312132 152852 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112876 0.0 0.1 311420 152116 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112877 0.0 0.1 311364 152196 ? S 11:51 0:05 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112878 0.0 0.1 312992 153940 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112879 0.0 0.1 312008 152696 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112880 0.0 0.1 312980 153668 ? S 11:51 0:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112881 0.0 0.1 310892 151536 ? S 11:51 0:05 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112882 0.0 0.1 311340 152012 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112883 0.0 0.1 311508 152144 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112884 0.0 0.1 310720 151568 ? S 11:51 0:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112885 0.0 0.1 311360 152276 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112886 0.0 0.1 311836 152772 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112887 0.0 0.1 310872 151600 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112888 0.0 0.1 313084 153880 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112889 0.0 0.1 312332 153236 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112890 0.0 0.1 310796 151696 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112891 0.0 0.1 311708 152448 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112892 0.0 0.1 311460 152328 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112893 0.0 0.1 312808 153532 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112897 0.0 0.1 311668 152528 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112898 0.0 0.1 311352 152128 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112899 0.0 0.1 312844 153696 ? S 11:51 0:09 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112901 0.0 0.1 311280 152076 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112904 0.0 0.1 311212 152104 ? S 11:51 0:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112907 0.0 0.1 310832 151752 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112915 0.0 0.1 311136 152040 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112918 0.0 0.1 311140 152112 ? S 11:51 0:07 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112919 0.0 0.1 311348 152324 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112920 0.0 0.1 311712 152684 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112923 0.0 0.1 310768 151508 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112927 0.0 0.1 311156 152080 ? S 11:51 0:06 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log nova 112928 0.0 0.1 312132 152824 ? S 11:51 0:08 /usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file=/var/log/nova/nova-api.log
On 9/25/19 1:40 AM, 崔恒香 wrote:
This was my configuration of osapi_compute_workers: osapi_compute_workers=24 But the number of processes on my controller was 58.
The others are probably metadata workers - you want to also set DEFAULT.metadata_workers in your config. ~iain
This was my configuration of osapi_compute_workers: osapi_compute_workers=24 But the number of processes on my controller was 58.
The others are probably metadata workers - you want to also set DEFAULT.metadata_workers in your config.
Thank you! The others are metadata workers.
participants (2)
-
iain.macdonnell@oracle.com
-
崔恒香