• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: broken pipe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: broken pipe?


  • Subject: Re: broken pipe?
  • From: Andrew Lindesay <email@hidden>
  • Date: Fri, 29 Aug 2008 08:28:19 +1200

Hello;

I think Art is right here; the instance takes too long for the response to come back so the adaptor disconnects from the instance (causing the broken pipe error) and then tries another instance.

It is a tricky one in the scope of RPC against an application server. In the few cases where a request would be more likely to be > ~5-8 seconds in my JSON-RPC system, I use a background thread and the client has to poll the instance to keep checking to see if the process has completed. This works well and largely resolves the broken pipes.

cheers.

Well, I've seen this problem when I'm testing and I'm waiting patiently :) to get a response from an xml rpc service call.

...
Or it could be the WO HTTP adaptor timing out when it doesn't receive a response from the WO app instance within the "receive timeout" period (30 seconds, by default). The HTTP adaptor will return a "No instance available" response when this occurs. The "receive timeout" can be increased in the "Load Balancing and Adaptor Settings" for the app in JavaMonitor.

___ Andrew Lindesay www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: broken pipe? (From: Mersida Kurti <email@hidden>)
 >Re: broken pipe? (From: David Avendasora <email@hidden>)
 >Re: broken pipe? (From: Art Isbell <email@hidden>)

  • Prev by Date: [OT] <video> tag
  • Next by Date: Re: [OT] <video> tag
  • Previous by thread: Re: broken pipe?
  • Next by thread: Re: broken pipe?
  • Index(es):
    • Date
    • Thread