Skip to content

Instantly share code, notes, and snippets.

@mustmodify
Created October 25, 2011 21:06
Show Gist options
  • Save mustmodify/1314274 to your computer and use it in GitHub Desktop.
Save mustmodify/1314274 to your computer and use it in GitHub Desktop.
error causing 502 bad gateway with passenger 3 and RBX 2.0.0dev (1.8.7 ddd17fa2 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu] via RVM
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/Pool.h:1162 time=2011-10-25 16:03:49.790 ]: Exception occurred while connecting to checked out process 3088: Cannot connect to Unix socket '/tmp/passenger.1.0.2972/generation-0/backends/ruby.sizO6NemgTXdYkm6VxOI2BX8kFz2n8bbDTgZnP46LaQT7BZtyvrZ3kXL': Connection refused (111)
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/Pool.h:685 time=2011-10-25 16:03:49.790 ]: Detaching process 3088
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/../Process.h:138 time=2011-10-25 16:03:49.790 ]: Application process 3088 (0xfb95c0): destroyed.
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/Pool.h:939 time=2011-10-25 16:03:49.790 ]: Spawning a process for /source/mustmodify/www because there are none for this app group
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/../SpawnManager.h:291 time=2011-10-25 16:03:49.790 ]: Spawning a new application process for /source/mustmodify/www...
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/../SpawnManager.h:413 time=2011-10-25 16:03:49.815 ]: Application process 3136 spawned
[ pid=2976 thr=139753072645888 file=ext/common/ApplicationPool/../Process.h:117 time=2011-10-25 16:03:49.815 ]: Application process 3136 (0xfbb970): created.
[ pid=3136 thr=77848 file=abstract_request_handler.rb:244 time=2011-10-25 16:03:52.023 ]: Entering request handler main loop
[ pid=3136 thr=77848 file=abstract_request_handler.rb:466 time=2011-10-25 16:03:52.025 ]: Accepting new request on main socket
Thread deadlock in ::lock()!
pid /tmp/nginx.pid;
worker_processes 1;
error_log /var/log/nginx/error.log;
events {
worker_connections 1024;
}
http {
passenger_root /home/jw/.rvm/gems/rbx-head/gems/passenger-3.0.9;
passenger_ruby /home/jw/.rvm/wrappers/rbx-head/ruby;
passenger_log_level 3;
include mime.types;
default_type application/octet-stream;
server {
listen 80;
server_name dev.mustmodify.com;
root /source/mustmodify/www/public;
passenger_enabled on;
error_log /source/mustmodify/www/log/nginx.error.log;
rails_env development;
index index.html;
}
server {
listen 80;
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
jw@eagle:~$ ~/.rvm/wrappers/rbx-head/ruby -v
rubinius 2.0.0dev (1.8.7 ddd17fa2 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.9)
actionpack (3.0.9)
activemodel (3.0.9)
activerecord (3.0.9)
activeresource (3.0.9)
activesupport (3.0.9)
arel (2.0.10)
builder (3.0.0, 2.1.2)
bundler (1.0.21, 1.0.12)
capistrano (2.9.0)
capistrano-ext (1.2.1)
daemon_controller (0.2.6)
diff-lcs (1.1.3)
erubis (2.6.6)
fastthread (1.0.7)
ffi (1.0.9)
haml (3.1.3)
highline (1.6.2)
i18n (0.6.0, 0.5.0)
json (1.6.1)
looksee (1.0.3)
mail (2.3.0, 2.2.19)
mime-types (1.16)
multi_json (1.0.3)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.2.1)
net-ssh-gateway (1.1.0)
passenger (3.0.9)
polyglot (0.3.2)
rack (1.2.4)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.9)
railties (3.0.9)
rake (0.9.2.2, 0.9.2, 0.8.7)
rake-compiler (0.6.0)
rdoc (3.9.4, 2.5.1)
rspec (2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
ruby-debug (0.10.47)
thor (0.14.6)
treetop (1.4.10)
tzinfo (0.3.30)
jw@eagle:~$ ps aux | grep passenger
root 2978 0.1 1.7 176628 52088 ? Sl 15:49 0:04 ruby /home/jw/.rvm/gems/rbx-head/gems/passenger-3.0.9/helper-scripts/passenger-spawn-server
jw 3414 101 2.9 278792 86864 ? Sl 16:19 4:43 ruby /home/jw/.rvm/gems/rbx-head/gems/passenger-3.0.9/helper-scripts/passenger-spawn-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment