Pastie was down
18 Jul 2010Sorry for the Pastie downtime Sunday evening. I was upgrading the stack and ran into one huge unexpected snafu with Thin and HAProxy.
If anyone can explain Thin, it's defaults for keep-alive, and what exactly --max-persistent-conns 0 does please get in touch. Finally adding "option httpclose" to HAProxy (telling it to force connections closed) fixed everything.
I was thinking thin would be a drop in replacement for Mongrel... how wrong I was. Perhaps mongrel always added the HTTP close header and HAProxy just went crazy without it holding the connections open instead of serving new requests?
I'm glad it's all back to normal. Seems faster too.