fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

Web UI does not allow downloading results bigger than 100 MB #375

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When downloading files from the Web UI, files bigger than 100 MB seems to stop 
at around 100 MB.

The results can be retrieved fine using wget (and probably using the cli). But 
when trying from the Web UI, this exception is thrown (from the engine), 
indicating that the Web UI closes the connection after about 100 MB:

Dec 19, 2013 9:45:10 PM org.restlet.engine.adapter.ServerAdapter commit
INFO: The connection was broken. It was probably closed by the client.
org.eclipse.jetty.io.EofException
    at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:952)
    at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:518)
    at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:182)
    at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101)
    at org.restlet.engine.io.BioUtils.copy(BioUtils.java:81)
    at org.restlet.representation.FileRepresentation.write(FileRepresentation.java:271)
    at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509)
    at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453)
    at org.restlet.ext.jetty.internal.JettyCall.sendResponse(JettyCall.java:312)
    at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:196)
    at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:153)
    at org.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:170)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:622)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
    at java.lang.Thread.run(Thread.java:701)
Caused by: java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122)
    at sun.nio.ch.IOUtil.write(IOUtil.java:93)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:352)
    at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:305)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:356)
    at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:891)
    ... 22 more

Original issue reported on code.google.com by josteinaj@gmail.com on 19 Dec 2013 at 9:33