I am running a Rails app on Dreamhost, with FCGI.
In the past, I’ve seen occasional “broken pipe” errors; my understanding is that this happens when an FCGI process outlives its mySQL connection. Killing the process causes a new one, with a new db connection, and everything’s cool.
In the last few days, however, “broken pipes” errors seem to be persisting across FCGI processes. I kill everything, they come back up, and somehow the “pipe” is still “broken”.
I asked DH support, and their only advice was “kill FCGI processes frequently”. I don’t think that’s a good solution – anyone have ideas?