Project

General

Profile

Actions

Idea #20468

closed

Installer supports nginx/passenger config tuning for performance

Added by Lucas Di Pentima about 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Start date:
05/04/2023
Due date:
Story points:
-
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 some systemd 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 as worker_processes above.
  • passenger_max_request_queue_size config. Related to arvados config's API.MaxConcurrentRequests, maybe a 1:1 ratio?

Subtasks 1 (0 open1 closed)

Task #20481: Review 20468-installer-perf-knobsResolvedTom Clegg05/04/2023Actions
Actions

Also available in: Atom PDF