2022-11-18 17:21 UTC
@evanphx@ruby.social Careful with that 1.5 value. Sidekiq needs to run too.
Replies (3)
-
@djsundog@toot-lab.reclaim.technology 2022-11-18 17:23
@getajobmike@ruby.social @evanphx@ruby.social this is the most delightful resource contention I've seen all week. if we can get core contributors from postgres and nginx into the thread we'd be full stack! :blobjoy:
-
@evanphx@ruby.social 2022-11-18 17:29
@getajobmike@ruby.social For sure! Setting WEB_CONCURRENCY to cores * 1.5 can result in puma soaking up 100% of the cpu. So if you're running sidekiq on the same cores, use 1 * cores or even 0.8 * cores is prudent.
-
@jan@toot.io 2022-11-18 23:34
@getajobmike@ruby.social @evanphx@ruby.social Hey Evan, Hey Mike nice to meet you. Puma and Sidekiq works like a charm 👍