Protip: you almost never want to set Puma's worker count (i.e. through WEB_CONCURRENCY) to 1. That means you create a master process AND a single child... that's almost 2x the memory usage of running Puma in "single" mode. Set WEB_CONCURRENCY to 0 instead, save memory.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Brian Kephart

@nateberkopec is there a reason for ever using one worker? If not, it seems like Puma should interpret 1 as an intent to run in single mode.

1
1y
Replies