[Mongrel] mongrel proxies waiting endlessly

Zed Shaw zedshaw at zedshaw.com
Mon Sep 11 04:00:40 EDT 2006


On Mon, 2006-09-11 at 13:02 +0530, hemant wrote:
> 
> 
> On 9/11/06, hemant <gethemant at gmail.com> wrote:
>         
<snip>
> 
> After turning on USR1 level debugging i get following errors in my
> logs:
> 
>         Mon Sep 11 13:00:17 IST 2006: ERROR: Transport endpoint is not
>         connected - getpeername(2)
>         /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:567:in `peeraddr'

Hmmm, that is only there if there is no X_FORWARDED_FOR header from a
proxy server and Mongrel has to resolve the host.  It means you have a
poorly setup DNS server that can't resolve fast enough so the process is
getting stuck.

How are is your proxy setup?


-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.



More information about the Mongrel-users mailing list