0
votes
3answers
225 views

Sudo won't execute command as another user

I'm trying to get a unicorn server to start when the server boots. I've created a shell script which works if I log as the ubuntu user and run /etc/init.d/unicorn start Shell script #!/bin/sh ...
8
votes
2answers
6k views

Need to increase nginx throughput to an upstream unix socket — linux kernel tuning?

I am running an nginx server that acts as a proxy to an upstream unix socket, like this: upstream app_server { server unix:/tmp/app.sock fail_timeout=0; } server { listen ...
0
votes
1answer
725 views

memory tuning with rails/unicorn running on ubuntu

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. ...
0
votes
1answer
95 views

Should I create a system user for unicorn server?

When running a Unicorn server on Linux I am debating whether to run the service under a system or normal user. Which one should I use and why?
0
votes
1answer
125 views

unicorn_rails throwing memory corruption error

I've been running a nginx+unicorn rails application successfully on EC2 for a while but I decided to get a test server up in one of my VPS servers. I just installed nginx in my VPS, got the gems all ...