Apache Directory Project - [jira] Updated: (DIRMINA-129) "Pipe broken" IOExceptions countered on non-ac

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > November 2005 > [jira] Updated: (DIRMINA-129) "Pipe broken" IOExceptions countered on non-ac





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (DIRMINA-129) "Pipe broken" IOExceptions countered on non-ac
Trustin Lee (JIRA)

2005-11-28, 2:45 am

[ http://issues.apache.org/jira/brows...NA-129?page=all ]

Trustin Lee updated DIRMINA-129:
--------------------------------

Fix Version: 0.8.2

This issue affects 0.8, too. We need to fix it in 0.8.2.

> "Pipe broken" IOExceptions countered on non-active stream connections
> ---------------------------------------------------------------------
>
> Key: DIRMINA-129
> URL: http://issues.apache.org/jira/browse/DIRMINA-129
> Project: Directory MINA
> Type: Bug
> Versions: 0.8.1
> Environment: All
> Reporter: dave irving
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 0.8.2


>
> The StreamIOHandler implementation uses PipedInput/Output streams for providing read data.
> PipedInputStream is quite strict about the relationship between the producer and consumer thread.
> When blocking on a read, PipedInputStream checks every second to see if the last producer thread to write to it is still alive. If it detects that the producer thread is no longer alive, an IO Exception is thrown indicating "Pipe Broken".
> This causes a problem in Mina becuase worker threads in the ThreadPoolFilter have a "keep alive time" (default is one second). So, if a user is blocked on a stream IO read (really a PipedInputStream), and the last ThreadPoolFilter thread which produced

data for the stream idles out, the user encounters a "Pipe Broken" IOException (not related to session idle).
> Users can currently work around the problem by increasing the keep-alive time on the ThreadPoolFilter.
> My gut feeling is that ditching PipedInputStream / PipedOutputStream in favour of something more suited to Minas needs would be a good solution to the problem.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com