← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1838689] [NEW] rpc_workers default value ignores setting of api_workers

 

Public bug reported:

The help for the rpc_workers config option is:

    Number of RPC worker processes for service.  If not specified, the
    default is equal to half the number of API workers.

However, this does not accurately describe the current behaviour, which
is to default to half the _default_ number of API workers.  This can
make a big difference; for example on a 256-CPU machine with 256GB of
RAM which has api_workers configured to 8 but rpc_workers not configured
to anything, this will result in 64 RPC workers, which is 8 for every
API worker!

** Affects: neutron
     Importance: Undecided
     Assignee: Adam Spiers (adam.spiers)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Adam Spiers (adam.spiers)

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

Title:
  rpc_workers default value ignores setting of api_workers

Status in neutron:
  New

Bug description:
  The help for the rpc_workers config option is:

      Number of RPC worker processes for service.  If not specified, the
      default is equal to half the number of API workers.

  However, this does not accurately describe the current behaviour,
  which is to default to half the _default_ number of API workers.  This
  can make a big difference; for example on a 256-CPU machine with 256GB
  of RAM which has api_workers configured to 8 but rpc_workers not
  configured to anything, this will result in 64 RPC workers, which is 8
  for every API worker!

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


Follow ups