unicorn Questions

6

I need to setup a connection to an external service in my Rails app. I do this in an initializer. The problem is that the service library uses threaded delivery (which I need, because I can't have ...
Veronique asked 9/11, 2011 at 1:1

3

I'm wondering what is the best way to track unicorn timeouts from my app. There are some bits of the app which are slow and they currently timeout quietly. I could increase the timeout but that is...
Jessabell asked 26/9, 2012 at 7:7

2

I'm trying to understand and recreate a simple preforking server along the lines of unicorn where the server on start forks 4 processes which all wait (to accept) on the controlling socket. The con...
Sexlimited asked 20/11, 2012 at 19:48

2

Solved

I want to know what exactly it means when a web server describes itself as a pre-fork web server. I have a few examples such as unicorn for ruby and gunicorn for python. More specifically, these ar...
Buprestid asked 14/9, 2014 at 14:31

3

Solved

In php, you only need apache or nginx. Why does ruby rails also need something like puma or unicorn when nginx is already installed?
Imprecise asked 6/9, 2015 at 13:7

1

I want set up rails on unicorn on nginx. Setup unicorn and nginx and modify nginx.conf like following code. However, on the home view of rails, rails-default-image is not shown as the attached pict...
Wampler asked 23/4, 2017 at 7:28

6

Solved

I am trying to move a Rails application into production but I am having a problem with Rails not seeing my environment variable. I have the password for my database setup in my .bashrc file like ...
Literal asked 8/4, 2016 at 20:51

1

How to see the live server log in production like it is shown in development? My app is on digitalOcean, if that helps. I am using unicorn as my production server. When I do tail -f log/produc...

5

Solved

I'm trying to start or restart Unicorn when I do cap production deploy with Capistrano 3.0.1. I have some examples that I got working with Capistrano 2.x using something like: namespace :unicorn ...
Chiastic asked 10/11, 2013 at 23:56

3

Solved

I followed the Ryan's screencast and deployed to VPS. So i use Unicorn + nginx + github + Ubuntu 12.04 LTS + capistrano. Also i use i18n to translate application. I also would like to notice that ...
Averell asked 21/1, 2013 at 11:33

3

Solved

I have deployed my app using capistrano on AWS, with nginx and unicorn. When I open my home page, its empty. This is my unicorn log Started GET "/" for 111.111.111.111 at 2014-03-10 12:50:02 +0000...
Utgardloki asked 10/3, 2014 at 13:9

5

Solved

I believe the default behavior of rails logging on production is to not output the rendering of all partials. This should log in development but not on production. However, I'm seeing this in prod...

4

I'm following a tutorial at DigitalOcean (fyi, this is the tutorials, link1 , link2 ), to install a production ready rails app using unicorn, and nginx, and when I get to the part on installing uni...
Geminius asked 23/4, 2015 at 4:34

3

Solved

I am using Mongoid 3, with Rails 3.2.9 and Unicorn for production. Would like to setup a before_fork & after_fork for the connection to mongodb, found the following code for active record: bef...
Emalia asked 27/2, 2013 at 12:14

8

Solved

I was trying to use Thin app server and had one issue. When nginx proxies the request to Thin (or Unicorn) using proxy_pass http://my_app_upstream; the application receives the modified URL sent b...
Clausen asked 29/4, 2011 at 15:28

2

Solved

I am hosting my Rails app on Ubuntu 12.04 VPS, Nginx + Unicorn, after deployment everything is fine, but few hours later, when I ssh to the VPS I get this message -bash: fork: Cannot allocate mem...
Aileen asked 18/11, 2014 at 1:47

2

Solved

I have a Rails 4.1 application with nginx and unicorn. Some of POST request are turn into GET request. I gues it's related my nginx config. Here is the previous question about it. Here is the my n...
Survivor asked 4/6, 2014 at 3:54

3

We started seeing some strange errors in our logs that normally appear when ruby isn't compiled properly with OpenSSL. But it's inconcistent... We're getting errors like: RuntimeError: Unsupported...
Postimpressionism asked 28/2, 2018 at 18:1

2

I use rbenv and bundler for my ruby application environment. My 'bundle show': bundle show Gems included by the bundle: * activemodel (3.2.13) * activerecord (3.2.13) * activesupport (3.2.13) ...
Eterne asked 31/5, 2018 at 13:14

3

Solved

I've been having this problem for a while and searched a lot about this, but nothing seems to solve my problem. I have an application running in Ruby on Rails with NGINX and UNICORN everything wit...
Delanty asked 5/2, 2016 at 12:4

1

Solved

I am upgrading from Ruby 2.3.1 to Ruby 2.4.1 and upon doing so Unicorn seems be incompatible with the new version. I get the errors below. I am using Unicorn 5.1.0 and have tried Unicorn 5.3.1 to n...
Vange asked 5/10, 2017 at 17:23

5

Solved

I am having unexpected and significant problems trying to get a Rails app, running under Unicorn, to connect to a password-protected Redis server. Using bundle exec rails c production on the comma...
Nepean asked 6/6, 2012 at 20:59

3

When using Unicorn on Heroku. Scaling up, will have problems, since the newly scaled web dyno's can be accessed by a request when it is still loading the app. Which mostly results in a Timeout erro...
Transfix asked 18/2, 2012 at 22:31

2

I have a production server with nginx -> unicorn -> rails. I precompile assets, which puts assets in public/assets with a fingerprint (hash) appended to the filename. However, when a web page is re...

3

I've recently switched my rails project from Rails4 to 5.0.0.beta3 to use the awesome ActionCable. My ActionCable server is run inside unicorn. In development all works fine. In production I have ...
Skiing asked 28/3, 2016 at 9:25

© 2022 - 2024 — McMap. All rights reserved.