I have a strange problem that appears in production environment only when I use nginx and unicorn. When I use unicorn without nginx, it doesn\'t happen.
The problem. I h
ERROR -- : worker=0 PID:6005 timeout (31s > 30s), killing
It goes without saying that you just need setup timeout to more then 30 in you unicorn config
Try at least
timeout 60
http://unicorn.bogomips.org/Unicorn/Configurator.html#method-i-timeout