Questions tagged [puma]

A fast, concurrent web server for Ruby & Rack

Puma is a Ruby/Rack web server built for parallelism.

4 questions
6
votes
1 answer

Why isn't puma using all of its threads?

I'm using puma and nxinx, and as far as I can tell it is only ever using a single thread even when I start it with the default of 16 threads or more. I've set up a fresh rails app, then gone through the set up described…
2
votes
2 answers

Rails SSL running puma and EC2 AWS

Specs: Rails 4.2.4, Ruby 2.1.9, running puma, EC2 instance in production mode I have an SSL certificate that I want to install on my server but using techniques like this one yields no results rails s puma -b…
1
vote
1 answer

Puma with systemd and socket activation - Errno::EADDRINUSE

I have a Rails 5 app, running on puma 3.12.1, MRI 2.6.2, and Ubuntu 18.04. It used to run with pumactl and a custom control script but I want to configure it properly with systemd, using socket activation to have zero-downtime deployment. The…
vbalazs
  • 119
0
votes
0 answers

puma.sock failed (111: Connection refused) while connecting to upstream (Puma Server, Nginx, Ruby on Rails)

I'm currently facing an issue with Puma. It's not running due to a puma.sock failure. If anyone has experience with this, please help me. I'll provide the error message below. "==> /var/log/nginx/error.log <== 2024/11/08 06:54:54 [error]…
dev
  • 1