Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] IOException Broken pipe

Could one of you guys run your server in debug mode and provide chunks of the log file that pertain to a  download transaction where each of the above errors occurred? It seems that this might be happening then a browser is closing the socket before the transfer is completed, in which case the exception would be expected.

-Michael

On Tue, Sep 21, 2010 at 4:17 AM, Viktor Klang <viktor.klang@xxxxxxxxx> wrote:
Yes,

I'd like to know what's b0rked as well as you.

Cheers,


On Tue, Sep 21, 2010 at 9:57 AM, Axel Rose <axel.roeslein@xxxxxxxxxxxxxx> wrote:
Hello all,

does anyone experience similar problems when serving static content?

I have sporadic
java.io.IOException: Broken pipe

lots of
2010-09-21 09:44:38.327:DBUG::EOF org.eclipse.jetty.io.EofException

and surprising
2010-09-21 09:45:27.429:DBUG::org.eclipse.jetty.io.nio.SelectorManager$SelectSet@60cbf9bd
JVM BUG(s) - injecting delay1 times
2010-09-21 09:45:27.429:DBUG::org.eclipse.jetty.io.nio.SelectorManager$SelectSet@60cbf9bd
JVM BUG(s) - cancelled keys 21 times

messages
for a jetty-distribution-7.1.6.v20100715 when started like this

 java -jar start.jar --ini etc/jetty-static.xml

It looks to me as if some .mpeg files are causing this (approx. 5 MB files)

jetty-static.xml:


<Configure id="FileServer" class="org.eclipse.jetty.server.Server">


 <Call name="addConnector">
   <Arg>
     <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
       <Set name="port"><Property name="jetty.port" default="8888"/></Set>
       <Set name="maxIdleTime">300000</Set>
     </New>
   </Arg>
 </Call>

 <Set name="handler">
   <New class="org.eclipse.jetty.server.handler.HandlerList">
     <Set name="handlers">
       <Array type="org.eclipse.jetty.server.Handler">
         <Item>
           <New class="org.eclipse.jetty.servlet.ServletContextHandler">
             <Set name="contextPath">/app</Set>
             <Set name="resourceBase">/my/path</Set>
             <Call name="addServlet">
               <Arg>org.eclipse.jetty.servlet.DefaultServlet</Arg>
               <Arg>/</Arg>
             </Call>
           </New>
         </Item>
       </Array>
     </Set>
   </New>
 </Set>
</Configure>

JVM is 1.6.0_20 on MacOS X 10.6.4

Thanks for any help,
Axel.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Viktor Klang,
Code Connoisseur
Work:   www.akkasource.com
Code:   github.com/viktorklang
Follow: twitter.com/viktorklang
Read:   klangism.tumblr.com


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top