← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1609656] Re: Is it really necessary for glance-api & glance-registry to spawn themselves 8 times, eating up 1.3 GB of RAM

 

Hi Jean-Christophe,

As a group, we write software for people who need it to operate at
scale. That means having a config that is reasonable out of the box. 8
workers for glance-api and glance-registry is not unreasonable.

As for auto-scaling, that's not a thing any OpenStack service should
ever do. That's something operators need to set-up if they want it.
Regardless, this is easy for your to fix for yourself and if you still
prefer to uninstall Glance, you're not harming us.

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1609656

Title:
  Is it really necessary for glance-api & glance-registry to spawn
  themselves 8 times, eating up 1.3 GB of RAM

Status in Glance:
  Invalid

Bug description:
  Ubuntu 16.04 4.4.0-31
  glance-api, glance-registry & python-glance 2:12.0.0-0ubuntu2

  ps auxf | grep glance-reg
  glance    4949  0.0  0.5 163484 90740 ?        Ss   08:04   0:01 /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5232  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5233  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5234  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5235  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5236  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5237  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5238  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  glance    5239  0.0  0.5 163484 85580 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf --log-file=/var/log/glance/glance-registry.log
  root     23485  0.0  0.0  12880  1016 pts/2    S+   08:42   0:00      \_ grep --color=auto glance-reg
  root@samsung-ubuntu:/home/actionmystique/Program-Files/Ubuntu/PPA# ps auxf | grep glance-api
  glance    4952  0.7  0.6 226156 101608 ?       Ss   08:04   0:18 /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5240  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5241  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5242  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5243  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5244  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5245  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5246  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  glance    5247  0.0  0.5 226156 93388 ?        S    08:04   0:00  \_ /usr/bin/python /usr/bin/glance-api --config-file=/etc/glance/glance-api.conf --log-file=/var/log/glance/glance-api.log
  root     25139  0.0  0.0  12880   980 pts/2    S+   08:44   0:00      \_ grep --color=auto glance-api

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1609656/+subscriptions


References