Re: wo adaptor produces "broken pipe"s

Chuck Hill <[email protected]> Tue, 7 Dec 2004 07:51:03 -0800
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
This message means, "the source of this request has closed the 
connection".  Often this means that the user has hit stop or navigated 
somewhere else.  In  your case it probably means that the app too so 
long to respond that the adaptor gave up and went to another instance.  
Have the users been reporting "no instance available" or "your session 
has expired" errors?

Unless you have changed the app, I would guess that you have some 
optimization work to do.  Likely you have exceeded some critical 
threshold in data size and processing is now taking longer than the 
woadaptor is prepared to wait.  Often this results from a slow fetch 
and simply adding a performance index will solve the problem.  
Otherwise, you will need to work on your code and / or start using the 
much dreaded WOLongResponsePage.  As an interim measure,  you can 
increase the Connect and Receive adaptor timeouts in JavaMonitor.

I don't recall the CLOSE_WAIT problem being related to this.


Chuck


On Dec 7, 2004, at 7:00 AM, Will Scheidegger wrote:

> We're facing a weird problem all of a sudden. This one app ran fine 
> for quite some time and now it chokes all the time and gives the 
> following feedback in the log file:
>
> [2004-12-07 15:52:53 CET] <WorkerThread14> <WOWorkerThread id=14 
> socket=Socket[addr=/192.168.1.40,port=
> 55917,localport=2007]> Exception while sending response: 
> java.net.SocketException: Broken pipe
>
> After a bunch of these entries, usually we have lots of CLOSE_WAITs on 
> the port of the application and the app becomes unavailable.
>
> Does anyone have a good idea on how to debug this? Thanks a bunch for 
> your help!
>
> Regards,
> Will
>
> _______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>
-- 
Practical WebObjects - a book for intermediate WebObjects developers 
who want to increase their overall knowledge of WebObjects, or those 
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects