GitHub User: mayankbpatel
Something I was bit by lately was the SIGHUP signal.
I put a long running rake task in the background, making sure to redirect stderr to stdout. But when I logged out of my terminal, rake received a SIGHUP and aborted my processes.
Probably should have executed this with Resque or DelayedJob.