配置指南¶
介绍¶
WSGI¶
当以 WSGI 运行 Python 应用时,您需要使用最多 1 个线程!
Apache 配置示例
$ grep WSGIDaemonProcess /etc/apache2/sites-available/10-cinder_wsgi.conf
WSGIDaemonProcess cinder-api display-name=cinder_wsgi group=cinder processes=8 threads=1 user=cinder
Nova¶
api.max_limit¶
文档链接: https://docs.openstack.org/nova/2025.2/configuration/config.html#api.max_limit
需要调整此设置,以确保 Nova API 能够为您提供预期的对象数量。
Memcached¶
我们建议将 memcached 设置(memcached_servers)添加到所有服务。
这将极大地帮助 Keystone(memcached 将用于存储令牌,而不是每次调用都请求新的令牌)。
它还将减少 API 响应时间。