Elektrine lite

← Feed

@mwp@nodots.xyz

2022-11-18 18:15 UTC

@evanphx@ruby.social @getajobmike@ruby.social In a fresh install of Mastodon following the guide, Puma doesn't read .env.production on boot, so if you want to change the number of workers you either need to edit config/puma.rb or the mastodon-web.service to set e.g. Environment="WEB_CONCURRENCY=3".

Replies (1)

  • @mwp@nodots.xyz 2022-11-18 18:16

    @evanphx@ruby.social @getajobmike@ruby.social Additionally, since y'all are giving formulas with floating point math, make sure to round up or down to an Integer value to keep Puma happy. If you're running a small VPS with e.g. one core for a small number of users, consider setting WEB_CONCURRENCY=0 to take Puma out of clustered mode.

    Open ##3139509