I don’t know what might have changed since the last time I cranked up this dev instance, but now it’s failing like this:
Sidekiq client with Sidekiq::RedisConnection::RedisAdapter options {:host=>"localhost", :port=>6379, :namespace=>"sidekiq"}
Sidekiq client with Sidekiq::RedisConnection::RedisAdapter options {:host=>"localhost", :port=>6379, :namespace=>"sidekiq"}
Sidekiq client with Sidekiq::RedisConnection::RedisAdapter options {:host=>"localhost", :port=>6379, :namespace=>"sidekiq"}
I, [2023-05-17T13:31:56.328911 #1103707] INFO -- : worker=0 ready
I, [2023-05-17T13:31:56.330855 #1103710] INFO -- : worker=1 ready
Loading Sidekiq in process id 1103706
Sidekiq client with Sidekiq::RedisConnection::RedisAdapter options {:host=>"localhost", :port=>6379, :namespace=>"sidekiq"}
/home/pfaffman/src/discourse-repos/discourse/lib/discourse.rb:137:in `exec': renice: failed to set priority for 1103706 (proc
ess ID): Permission denied
/home/pfaffman/src/discourse-repos/discourse/lib/discourse.rb:171:in `execute_command'
/home/pfaffman/src/discourse-repos/discourse/lib/discourse.rb:137:in `exec'
/home/pfaffman/src/discourse-repos/discourse/lib/discourse.rb:33:in `execute_command'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/sidekiq.rb:51:in `after_fork'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:155:in `block in run'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:151:in `fork'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:151:in `run'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:146:in `start'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:14:in `block in start'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:14:in `times'
/home/pfaffman/src/discourse-repos/discourse/lib/demon/base.rb:14:in `start'
/home/pfaffman/src/discourse-repos/discourse/config/unicorn.conf.rb:89:in `block in reload'
/home/pfaffman/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/unicorn-6.1.0/lib/unicorn/http_server.rb:541:in `spawn_missing_workers'
/home/pfaffman/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/unicorn-6.1.0/lib/unicorn/http_server.rb:143:in `start'
/home/pfaffman/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/unicorn-6.1.0/bin/unicorn:128:in `<top (required)>'
/home/pfaffman/src/discourse-repos/discourse/bin/unicorn:96:in `load'
/home/pfaffman/src/discourse-repos/discourse/bin/unicorn:96:in `block in <main>'
/home/pfaffman/src/discourse-repos/discourse/bin/unicorn:95:in `fork'
/home/pfaffman/src/discourse-repos/discourse/bin/unicorn:95:in `<main>'
I, [2023-05-17T13:31:56.356176 #1103713] INFO -- : worker=2 ready
E, [2023-05-17T13:31:56.452446 #1103437] ERROR -- : reaped #<Process::Status: pid 1103706 exit 1> worker=unknown
Detected dead worker 1103706, restarting...
And I did the only other thing I could think of: reboot. (the person shrugging emoji seems to be missing–and I just rebooted–I guess they’re trying to try out the new font awesome icons–so here’s a shrimp.)