Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1598043 - gnocchi_wsgi threads=1
Summary: gnocchi_wsgi threads=1
Status: ON_DEV
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 14.0 (Rocky)
Assignee: Alfredo Moralejo
QA Contact: nlevinki
Depends On:
TreeView+ depends on / blocked
Reported: 2018-07-04 08:23 UTC by Attila Fazekas
Modified: 2019-04-01 05:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
OpenStack gerrit 580115 None None None 2018-07-04 10:01:47 UTC

Description Attila Fazekas 2018-07-04 08:23:27 UTC
When I ask packstack to create 8 api worker (--service-workers=8) it created gnocchi_wsgi with 8 processes AND 8 threads.

Please set threads=1 as it is done with keystone and aodh.

Actual results:
  WSGIDaemonProcess gnocchi display-name=gnocchi_wsgi group=gnocchi processes=8 threads=8 user=gnocchi

Expected results:
  WSGIDaemonProcess gnocchi display-name=gnocchi_wsgi group=gnocchi processes=8 threads=1 user=gnocchi

Additional info:
Python threads are limited by GIL and in many cases using multiple threads causes strange anomalies.

Comment 4 Attila Fazekas 2019-03-26 18:51:01 UTC
"multiple threads causes strange anomalies."

As I remember in this case it is memory over usage, without performance gain.

Note You need to log in before you can comment on or make changes to this bug.