3
votes
1answer
168 views

Who should own the god process?

I have a stack running on ubuntu consisting of a Rack application written in Sinatra and GrapeAPI. The application stack includes Redis, Postgres, Nginx and unicorn. I want to use god to handle ...
1
vote
0answers
82 views

Best way to profile Unicorn workers?

I'm trying to get a better picture of what my Unicorn workers are doing. Are they blocked on calls to other services for a significant portion of their cycles? Are they free most of the time? The ...
0
votes
1answer
142 views

Unicorn Shared Socket

Is it possible to have a unix socket across a network? Is it possible to have multiple application servers running unicorn use that same shared socket? The setup I'd like to achieve would look like: ...
0
votes
1answer
762 views

memory tuning with rails/unicorn running on ubuntu [duplicate]

I am running unicorn on Ubuntu 11, Rails 3.0, and Ruby 1.8.7. It is an 8 core ec2 box, and I am running 15 workers. CPU never seems to get pinned, and I seem to be handling requests pretty nicely. ...
1
vote
1answer
1k views

Unicorn and copy_on_write_friendly?

While researching Unicorn configuration options I came across this snippet.. GC.respond_to?(:copy_on_write_friendly=) and GC.copy_on_write_friendly = true If I undertand correctly, it optimizes ...
4
votes
3answers
3k views

Using Upstart to manage Unicorn w/ rbenv + bundler binstubs w/ ruby-local-exec shebang

Alright, this is melting my brain. It might have something to do with the fact that I don't understand Upstart as well as I should. Sorry in advance for the long question. I'm trying to use Upstart ...
1
vote
0answers
463 views

How are these AB Benchmarks for a ruby/unicorn/nginx/ app running on ec2?

I am preparing to go live with an app, and was wondering if someone can give me some insight on my benchmarks. How do they compare, what system level tweaks can I make to improve them etc. My setup ...
0
votes
2answers
790 views

Unicorn retains same PID when receives USR2?

So, I've been playing with a unicorn deployment on my personal server. There are a variety of reasons behind this - one of them being that I didn't particularly want to have to compile my own version ...
0
votes
2answers
718 views

Unicorn installation error on Debian 5

I am running ruby1.9 on Debian 5, and did not manage to install 'unicorn' with rubygems. I got this error and do not really know how to solve it. Do you have any idea of the possible root cause ? ...
2
votes
1answer
933 views

Monitoring slow nginx/unicorn requests

I'm currently using Nginx to proxy requests to a Unicorn server running a Sinatra application. The application only has a couple of routes defined, those of which make fairly simple (non costly) ...
0
votes
2answers
2k views

Unicorn 3.3.1 and Rack 1.1.0 issues?

I'm upgrading from the Ruby Enterprise Edition 1.8.6 to the latest 1.8.7 version with Unicorn to facilitate an upgrade to Rails 2.3.10, and am running into some issues. Should I uninstall the older ...
0
votes
3answers
2k views

Rails 3 shows 404 error instead of index.html (nginx + unicorn)

I have an index.html in public/ that should be loading by default but instead I get a 404 error when I try to access http://example.com/ The page you were looking for doesn't exist. You may ...
0
votes
2answers
713 views

Ruby: Does it make sense to use REE with Unicorn?

I am trying to figure out the optimal server stack for running Rails. As of now, nginx + unicorn seems to be the best approach. However, some folks have suggested running the REE interpreter instead ...