[Mongrel] mongrel proxies waiting endlessly

hemant gethemant at gmail.com
Mon Sep 11 03:32:49 EDT 2006


On 9/11/06, hemant <gethemant at gmail.com> wrote:
>
>
> Well Zed,
>
> I i turned on USR1 debugging and all that stuff.....and I am *sometimes*
> get the above stated error.
>
> You might have seen...some of the my earlier code snippets where I depend
> upon the external data vending servers for data...and i timeout those
> requests..depending upon the request type.
>
> Now..that stuff is out bottleneck...mongrel threads often keep waiting
> there. Though I have never seen 900 threads waiting....but sometime i DO get
> 27 threads waiting and all that stuff. And once i get this, I will have to
> restart the mongrel. Basically I am going to further optimise my code..but I
> would really like to know, whats the following error:
>
>
> Tue Sep 05 03:56:40 IST 2006: ERROR: Transport endpoint is not connected -
> > getpeername(2)
> > Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected
> > - getpeername(2)
> > Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected
> > - getpeername(2)
> > Tue Sep 05 03:59:47 IST 2006: ERROR: Transport endpoint is not connected
> > - getpeername(2)
> > Tue Sep 05 03:59:47 IST 2006: ERROR: Transport endpoint is not connected
> > - getpeername(2)
>
>
> Just tell me...when exactly mongrel throws this error?
>
>
>
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'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:567:in`process_client'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.13.4/lib/mongrel/configurator.rb:267:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.13.4/lib/mongrel/configurator.rb:266:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:127:in`run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb:203:in`run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231
> /usr/bin/mongrel_rails:18
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060911/bf9017d2/attachment.html 


More information about the Mongrel-users mailing list