Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15107

500 errors due to "ArithmeticException: / by zero" in Jetty's AbstractConnectionPool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.8
    • None
    • None
    • None

    Description

      Upstream bug affects jetty 9.4.32+, fixed in 9.4.36+...

      First affects Solr 8.8 due to Jetty upgrade in SOLR-14844

      Looks like this in logs...

       123391 ERROR (qtp1570620031-1192) [    x:collection1 ] o.a.s.h.RequestHandlerBase java.lang.ArithmeticException: / by zero
              at org.eclipse.jetty.util.Pool.acquire(Pool.java:278)
              at org.eclipse.jetty.client.AbstractConnectionPool.activate(AbstractConnectionPool.java:284)
              at org.eclipse.jetty.client.AbstractConnectionPool.acquire(AbstractConnectionPool.java:209)
              at org.eclipse.jetty.client.HttpDestination.process(HttpDestination.java:331)
              at org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:318)
              at org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:311)
              at org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:288)
              at org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:265)
              at org.eclipse.jetty.client.HttpClient.send(HttpClient.java:594)
              at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:772)
              at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:764)
              at org.apache.solr.client.solrj.impl.Http2SolrClient.asyncRequest(Http2SolrClient.java:387)
              at org.apache.solr.client.solrj.impl.LBHttp2SolrClient.doRequest(LBHttp2SolrClient.java:151)
              at org.apache.solr.client.solrj.impl.LBHttp2SolrClient.asyncReq(LBHttp2SolrClient.java:127)
              at org.apache.solr.handler.component.HttpShardHandler.submit(HttpShardHandler.java:160)
              at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:454)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:214)
              at org.apache.solr.core.SolrCore.execute(SolrCore.java:2610)
              at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:794)
              at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:567)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:518)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:432)
      
      ...

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: