Actions
Idea #20468
closedInstaller supports nginx/passenger config tuning for performance
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Start date:
05/04/2023
Due date:
Story points:
-
Release:
Release relationship:
Auto
Description
The installer needs to have config knobs for the following:
Controller/RailsAPI node /etc/nginx/nginx.conf
¶
worker_processes
config (depends on nr of instance cores). Maybe having a setting with the amount of workers per core? Salt may be able to act on the number of cores (grains) without needing to specify it.worker_rlimit_nofile
config. This may also need somesystemd
nginx
's unit file tweaking. We're using this setting at 4096.events.worker_connections
config. We are using this setting at 1024.
RailsAPI node /etc/nginx/conf.d/mod-http-passenger.conf
¶
passenger_max_pool_size
config. Same concept asworker_processes
above.passenger_max_request_queue_size
config. Related to arvados config'sAPI.MaxConcurrentRequests
, maybe a 1:1 ratio?
Actions