<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-13540000.post9015366537511852647..comments</id><updated>2008-05-05T09:38:27.449+05:30</updated><title type='text'>Comments on Gaveen's Blog: Errno::EPIPE (Broken pipe) MySQL Error in Rails</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gaveen.owain.org/feeds/9015366537511852647/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13540000/9015366537511852647/comments/default'/><link rel='alternate' type='text/html' href='http://gaveen.owain.org/2008/04/errnoepipe-broken-pipe-mysql-error-in.html'/><author><name>Gaveen</name><uri>http://www.blogger.com/profile/03708879688644127067</uri><email>gaveen.prabhasara@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13540000.post-5656081894480930768</id><published>2008-05-05T09:38:00.000+05:30</published><updated>2008-05-05T09:38:00.000+05:30</updated><title type='text'>Thanks bro for the comment. You sure did make this...</title><content type='html'>Thanks bro for the comment. You sure did make this post more interesting. And yes, we do make silly mistakes sometimes. :) But that's part of the job.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13540000/9015366537511852647/comments/default/5656081894480930768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13540000/9015366537511852647/comments/default/5656081894480930768'/><link rel='alternate' type='text/html' href='http://gaveen.owain.org/2008/04/errnoepipe-broken-pipe-mysql-error-in.html?showComment=1209960480000#c5656081894480930768' title=''/><author><name>Gaveen</name><uri>http://www.blogger.com/profile/03708879688644127067</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10599212573967486073'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://gaveen.owain.org/2008/04/errnoepipe-broken-pipe-mysql-error-in.html' ref='tag:blogger.com,1999:blog-13540000.post-9015366537511852647' source='http://www.blogger.com/feeds/13540000/posts/default/9015366537511852647' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13540000.post-3482914421881206267</id><published>2008-05-03T05:32:00.000+05:30</published><updated>2008-05-03T05:32:00.000+05:30</updated><title type='text'>Hi Gaveen,Thanks for the informational post, this ...</title><content type='html'>Hi Gaveen,&lt;BR/&gt;&lt;BR/&gt;Thanks for the informational post, this would surely help anxious SysAdmin's from pulling out their hair :)&lt;BR/&gt;&lt;BR/&gt;Reading the 2nd issue with Proxies, reminds me such a tricky situation which  haunted me for few days. &lt;BR/&gt;&lt;BR/&gt;Excited by Thin's support for  Unix domain sockets, I decided to use it for one of our deployments. The app was done in Merb and I used the command "merb -a thin -h /tmp/thin.sock -p 0 -c 4" to start the merb cluster. In Load Balancer of Nginx I was calling each socket with &lt;BR/&gt;"server unix:/tmp/thin.0.sock". &lt;BR/&gt;&lt;BR/&gt;For my frustration Load Balancer doesn't seem to forward traffic to the thin. After digging through the Nginx configs, I found it cannot find the sockets. But my thin status indicated the sockets were running fine. This made me to juggle with various configuration options without any success (Also my ego didn't want to retreat from Unix Domain sockets to standard IP ports). &lt;BR/&gt;&lt;BR/&gt;I only figured the error when I manually went inside the /tmp directory. Sockets did exist!, but in a different naming scheme ;). Instead of Thin's standard naming scheme, Sockets created by Merb were named like this - &lt;BR/&gt;"server unix:/tmp/thin.sock-0".&lt;BR/&gt;&lt;BR/&gt;It was really a dumb issue and I was cursing my self for wasting time with it. But now it seems such an issues are part and parcel of every SysAdmin process ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13540000/9015366537511852647/comments/default/3482914421881206267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13540000/9015366537511852647/comments/default/3482914421881206267'/><link rel='alternate' type='text/html' href='http://gaveen.owain.org/2008/04/errnoepipe-broken-pipe-mysql-error-in.html?showComment=1209772920000#c3482914421881206267' title=''/><author><name>Lakshan</name><uri>laktek.web2media.net</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://gaveen.owain.org/2008/04/errnoepipe-broken-pipe-mysql-error-in.html' ref='tag:blogger.com,1999:blog-13540000.post-9015366537511852647' source='http://www.blogger.com/feeds/13540000/posts/default/9015366537511852647' type='text/html'/></entry></feed>