How to Start Sidekiq When Using Puma

I’ve searched everywhere on how to start sidekiq with puma and tried my own attampts, however it seems that there isn’t a definite answer available.

I’m using a Windows 10 Environment, so my setup is based on this guide Beginners Guide to Install Discourse on Windows 10 for Development

My current startup command:

#!/bin/bash

# to start PostgreSQL
sudo service postgresql start

# to start redis server
redis-server --daemonize yes

bundle exec puma -p 3000
1 Like

Did you try bundle exec sidekiq?

4 Likes

Since we are only pushing WSL 2 the command you want is

bin/unicorn

It runs sidekiq and everything. @vinothkannans can you update the guide to remove puma?

5 Likes

I already removed that part. I think @Mikitos added it from the old guide or replies. I’m going to delete all the topic replies which do not belong to WSL2.

4 Likes

@pmusaraj
I have tried this before, but if I add bundle exec sidekiq (assuming I’m still using the startup command in the OP), the whole command thread will stop after sidekiq has started. So I have to do Ctrl + C to resume the rest of the commands, but only then Discourse will start, however without sidekiq. The same happens if I start puma or sidekiq first than the other.

@sam
If I understood correctly, I replaced bundle exec puma -p 3000 with bin/unicorn so my startup command currently looks like this

#!/bin/bash

# to start PostgreSQL
sudo service postgresql start

# to start redis server
redis-server --daemonize yes

bin/unicorn

However, my console is spammed with a series of errors. I’m not really sure what’s the first line of the error (since it happens so fast), but this is what’s most of it

E, [2020-03-09T15:53:18.324587 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.324883 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.325196 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.325415 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.325720 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.325919 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.326240 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.326465 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.326663 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.326890 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.327166 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.327399 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.327738 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.328034 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.328308 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.328572 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.328879 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.329130 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.329484 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.329712 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.330150 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.330442 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.330670 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.330996 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.331394 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.331613 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.332044 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.332555 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.333036 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.333259 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.333507 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.333760 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.334080 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.334304 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.334922 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.335396 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.335606 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.335986 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.336251 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.336701 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.336987 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.337203 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.337424 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.337773 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.337975 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.338274 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.338598 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.338909 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.339145 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.339433 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.339661 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.339940 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.340133 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.340439 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.340730 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.340972 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.341346 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.341661 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.341867 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.342193 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.342484 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.342775 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.343007 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.343215 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.343449 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.343767 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.344002 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.344296 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.344593 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.344821 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.345124 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.345465 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.345756 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.345984 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.346223 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.346465 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.346870 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.347116 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.347520 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.348102 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.348903 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.349304 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.349879 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.350135 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.350463 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.350687 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.351032 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.351385 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.351640 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.351989 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.352511 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.352732 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.353114 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.353413 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.353695 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.353968 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.354191 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.354456 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.354754 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.354979 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.355338 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.355749 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.355955 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.356277 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.356500 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.356792 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.357018 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.357261 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.357525 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.357886 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.358131 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.358444 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.358843 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.359095 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.359329 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.359626 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.359836 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.360143 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.360362 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.360658 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.361026 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.361268 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.361698 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.362080 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.362313 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.362636 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.362914 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.363232 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.363546 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.363810 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.364099 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.364553 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.364841 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.365371 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.365667 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.365877 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.366244 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.366458 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.366780 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.366991 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.367215 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.367441 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.367878 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.368165 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.368575 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.368899 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.369151 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.369401 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.369689 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.369908 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.370230 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.370442 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.370751 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.371131 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.371352 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.371649 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.371947 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.372157 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.372456 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.372740 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.373071 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.373389 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.373674 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.373885 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.374196 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.374422 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.374853 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.375175 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.375387 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.375702 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.375901 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.376207 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.376412 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.376648 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.376910 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.377269 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.377529 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.377947 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.378245 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.378564 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.378827 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.379119 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.379325 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.379638 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.379855 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.380275 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.380640 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.380936 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.381573 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.382206 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.382668 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.383166 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.383448 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.383782 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.384037 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.384277 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.384499 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.384848 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.385076 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.385532 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.385890 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.386098 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.386386 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.386631 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.386937 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.387146 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.387366 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.387575 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.387863 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.388111 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.388494 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.388834 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.389092 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.389310 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.389633 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.389873 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.390148 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.390346 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.390759 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.391138 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.391402 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.391815 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.392118 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.392359 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.392664 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.393004 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.393272 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.393507 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.393744 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.394071 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.394433 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.394742 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.395123 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.395456 #483] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.395674 #496] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.395950 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.396155 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.396474 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.396845 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.397136 #483] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.397408 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.397839 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.398141 #483] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.398504 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.398991 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.399266 #483] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.399556 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.399897 #471] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.400158 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.400515 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.400753 #471] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.401088 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.401475 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.401768 #471] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.402111 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/                    lib/unicorn/http_server.rb:699:in `worker_loop'
E, [2020-03-09T15:53:18.402443 #496] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.402640 #471] ERROR -- : bin/unicorn:86:in `<main>'
E, [2020-03-09T15:53:18.403017 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.403395 #496] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:53:18.403729 #471] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
E, [2020-03-09T15:53:18.404048 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:144:in `start'
E, [2020-03-09T15:53:18.404341 #496] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.404621 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.404951 #483] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:53:18.405163 #496] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:53:18.405592 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:14:in `kgio_tryaccept'
E, [2020-03-09T15:53:18.405925 #483] ERROR -- : bin/unicorn:87:in `load'
^CE, [2020-03-09T15:53:18.406700 #471] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
E, [2020-03-09T15:53:18.406836 #483] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:53:18.406776 #496] ERROR -- : listen loop error: Invalid argument - accept (Errno::EINVAL)
I, [2020-03-09T15:53:18.508492 #374]  INFO -- : reaped #<Process::Status: pid 471 exit 0> worker=0
I, [2020-03-09T15:53:18.509720 #374]  INFO -- : reaped #<Process::Status: pid 483 exit 0> worker=1
I, [2020-03-09T15:53:18.510417 #374]  INFO -- : reaped #<Process::Status: pid 496 exit 0> worker=2
I, [2020-03-09T15:53:18.510908 #374]  INFO -- : master complete
mike@Mikitos:~/discourse$ bin/unicorn
I, [2020-03-09T15:55:31.082553 #549]  INFO -- : Refreshing Gem list
Starting CSS change watcher
E, [2020-03-09T15:55:44.121782 #549] ERROR -- : 127.0.0.1:9292 {:tcp_defer_accept=>1, :accept_filter=>"httpready", :backlog=>1024, :tcp_nopush=>nil, :tcp_nodelay=>true}: Protocol not available - setsockopt(2) (Errno::ENOPROTOOPT)
E, [2020-03-09T15:55:44.122311 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:74:in `setsockopt'
E, [2020-03-09T15:55:44.122878 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:74:in `set_tcp_sockopt'
E, [2020-03-09T15:55:44.123406 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:94:in `set_server_sockopt'
E, [2020-03-09T15:55:44.123871 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/socket_helper.rb:149:in `bind_listen'
E, [2020-03-09T15:55:44.124345 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:243:in `listen'
E, [2020-03-09T15:55:44.124933 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:850:in `block in bind_new_listeners!'
E, [2020-03-09T15:55:44.125572 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:850:in `each'
E, [2020-03-09T15:55:44.126285 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:850:in `bind_new_listeners!'
E, [2020-03-09T15:55:44.127087 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/lib/unicorn/http_server.rb:142:in `start'
E, [2020-03-09T15:55:44.127676 #549] ERROR -- : /home/mike/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.5.3/bin/unicorn:128:in `<top (required)>'
E, [2020-03-09T15:55:44.128213 #549] ERROR -- : bin/unicorn:87:in `load'
E, [2020-03-09T15:55:44.128564 #549] ERROR -- : bin/unicorn:87:in `block in <main>'
E, [2020-03-09T15:55:44.129018 #549] ERROR -- : bin/unicorn:86:in `fork'
E, [2020-03-09T15:55:44.129471 #549] ERROR -- : bin/unicorn:86:in `<main>'
I, [2020-03-09T15:55:44.129968 #549]  INFO -- : listening on addr=127.0.0.1:9292 fd=15
Starting up 1 supervised sidekiqs
Loading Sidekiq in process id 620
I, [2020-03-09T15:55:53.312467 #549]  INFO -- : master process ready
^CI, [2020-03-09T15:55:54.884170 #549]  INFO -- : reaped #<Process::Status: pid 649 exit 0> worker=1
I, [2020-03-09T15:55:54.884897 #549]  INFO -- : reaped #<Process::Status: pid 669 exit 0> worker=2
I, [2020-03-09T15:55:54.986531 #549]  INFO -- : reaped #<Process::Status: pid 637 exit 0> worker=0
I, [2020-03-09T15:55:54.987877 #549]  INFO -- : master complete

These were actually my previous attempts at starting Discourse with all necessary components, hence I resorted to puma and sacrificed sidekiq for the mean time.

1 Like

You are running wsl1 get on the slow ring and convert your image to wsl2

5 Likes

Is it absolutely not possible to run Discourse on WSL1? I’m running into an issue on a corporate machine that uses Symantec Endpoint Protection where it’s blocking internet access with WSL2.
Trying to trial Discourse without too much red tape :slight_smile:

Yeah not worth it, pretty much impossible would require enormous amount of work and be very slow.

1 Like