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

fetchQueues.totalSize incorrect in Fetcher2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1
    • fetcher
    • None

    Description

      I had a look at the logs generated by Fetcher2 and found cases where there were no active fetchQueues but fetchQueues.totalSize was != 0

      fetcher.Fetcher2 - -activeThreads=200, spinWaiting=200, fetchQueues.totalSize=1, fetchQueues=0

      since the code relies on fetchQueues.totalSize to determine whether the work is finished or not the task is blocked until the abortion mechanism kicks in

      2009-03-12 09:27:38,977 WARN fetcher.Fetcher2 - Aborting with 200 hung threads.

      could that be a synchronisation issue? any ideas?

      Attachments

        Activity

          People

            jnioche Julien Nioche
            jnioche Julien Nioche
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: