Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2890

Protocol-okhttp: upgrade okhttp to 4.9.1 to address infinite connection retries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.18
    • 1.19
    • plugin, protocol
    • None
    • Patch Available

    Description

      In rare situations and under heavy load (> 100 fetcher threads) I've seen that the protocol-okhttp plugin gets into a state where a significant amount of CPU time is spent in handling failed connections, see async-profiler screenshot. This is caused by okhttp#5819 which is fixed with okhttp 4.5.0).

      We should upgrade to the okhttp 4.9.1 (the current stable version).

      Attachments

        Issue Links

          Activity

            People

              snagel Sebastian Nagel
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: