Exception on log

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Exception on log

ennio
I'm running SOLR 7.3.1 on a Windows Server 2016 with 16GB (Server is not
dedicated to SOLR) and from time to time when I look at the log files I see
the following error:

2019-01-10 13:06:18.136 INFO  (qtp434091818-45) [   x:topics]
o.a.s.s.HttpSolrCall Unable to write response, client closed connection or
we are shutting down
org.eclipse.jetty.io.EofException
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
        at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
        at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:322)
        at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:372)
        at
org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:800)
        at
org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
        at
org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
        at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:528)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:783)
        at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:834)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:234)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:218)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:622)
        at
org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:55)
        at
org.apache.solr.response.QueryResponseWriterUtil$1.write(QueryResponseWriterUtil.java:54)
        at java.io.OutputStream.write(Unknown Source)
        at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
        at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
        at sun.nio.cs.StreamEncoder.write(Unknown Source)
        at java.io.OutputStreamWriter.write(Unknown Source)
        at org.apache.solr.util.FastWriter.flush(FastWriter.java:140)
        at org.apache.solr.util.FastWriter.write(FastWriter.java:94)
        at
org.apache.solr.response.TextResponseWriter.indent(TextResponseWriter.java:108)
        at
org.apache.solr.response.TextResponseWriter.indent(TextResponseWriter.java:104)
        at
org.apache.solr.response.JSONWriter.writeSolrDocument(JSONResponseWriter.java:364)
        at
org.apache.solr.response.TextResponseWriter.writeDocuments(TextResponseWriter.java:275)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:165)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:209)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:325)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:176)
        at
org.apache.solr.response.JSONWriter.writeJsonIter(JSONResponseWriter.java:618)
        at
org.apache.solr.response.JSONWriter.writeArray(JSONResponseWriter.java:609)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:182)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:209)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:325)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:176)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:209)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:325)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:176)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:209)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:325)
        at
org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:120)
        at
org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:71)
        at
org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65)
        at
org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:789)
        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:526)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:384)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:330)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629)
        at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
        at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
        at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
        at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
        at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
        at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
        at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
        at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at
org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:530)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
        at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
        at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
        at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
        at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
        at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
        at
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
        at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
        at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An established connection was aborted by the
software in your host machine
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(Unknown Source)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
        at sun.nio.ch.IOUtil.write(Unknown Source)
        at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
        ... 80 more


Usually after this error the SOLR server becomes slow, and if someone does a
new search it takes a few seconds to return the result set.

Anything I can do to prevent this from happening?






--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html