Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-166

Crawl seizes up when running Derby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 0.1, ManifoldCF 0.2
    • ManifoldCF 0.2
    • None

    Description

      A crawl using multiple worker threads with Derby eventually hangs, because threads get deadlocked dealing with carrydown information. At the time of hang, a thread dump yields:

      "Worker thread '5'" daemon prio=6 tid=0x02fc7800 nid=0xd78 in Object.wait() [0x0465f000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x2858b720> (a org.apache.manifoldcf.core.database.Database$ExecuteQueryThread)
        at java.lang.Thread.join(Unknown Source)
      • locked <0x2858b720> (a org.apache.manifoldcf.core.database.Database$ExecuteQueryThread)
        at java.lang.Thread.join(Unknown Source)
        at org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:453)
        at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:489)
        at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1131)
        at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
        at org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:168)
        at org.apache.manifoldcf.core.database.DBInterfaceDerby.performQuery(DBInterfaceDerby.java:785)
        at org.apache.manifoldcf.crawler.jobs.JobManager.processDeleteHashSet(JobManager.java:2592)
        at org.apache.manifoldcf.crawler.jobs.JobManager.calculateAffectedDeleteCarrydownChildren(JobManager.java:2565)
        at org.apache.manifoldcf.crawler.jobs.JobManager.markDocumentDeletedMultiple(JobManager.java:2494)
        at org.apache.manifoldcf.crawler.system.WorkerThread.processDeleteLists(WorkerThread.java:1077)
        at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:544)

      ... for at least two threads.

      Attachments

        Issue Links

          Activity

            People

              kwright@metacarta.com Karl Wright
              kwright@metacarta.com Karl Wright
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: