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

Crash Agents A and B - can't release lock we don't hold

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 2.7
    • Fix Version/s: ManifoldCF 2.8
    • Labels:
      None
    • Environment:
      • Debian : Jessie
      • PostgreSQL : 9.6

      Description

      Hello,

      manifoldcf.log

      ERROR 2017-08-04 09:28:25,794 (Set priority thread) - Set priority thread aborting and restarting due to database connection reset: Database exception: SQLException doing query (08006): Une erreur d'entrée/sortie a eu lieu lors d'envoi vers le serveur.
      org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: SQLException doing query (08006): Une erreur d'entrée/sortie a eu lieu lors d'envoi vers le serveur.
      at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.finishUp(Database.java:715)
      at org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:741)
      at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.rollbackCurrentTransaction(DBInterfacePostgreSQL.java:1292)
      at org.apache.manifoldcf.core.database.Database.endTransaction(Database.java:368)
      at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.endTransaction(DBInterfacePostgreSQL.java:1236)
      at org.apache.manifoldcf.crawler.jobs.JobManager.writeDocumentPriorities(JobManager.java:2418)
      at org.apache.manifoldcf.crawler.system.ManifoldCF.writeDocumentPriorities(ManifoldCF.java:1259)
      at org.apache.manifoldcf.crawler.system.SetPriorityThread.run(SetPriorityThread.java:141)
      Caused by: org.postgresql.util.PSQLException: Une erreur d'entrée/sortie a eu lieu lors d'envoi vers le serveur.
      at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)
      at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
      at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
      at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
      at org.apache.manifoldcf.core.database.Database.execute(Database.java:876)
      at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:696)
      Caused by: java.io.IOException: Unexpected packet type: 114
      at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1981)
      at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
      ... 5 more
      FATAL 2017-08-04 09:28:25,855 (Agents idle cleanup thread) - Error tossed: Can't release lock we don't hold
      java.lang.IllegalStateException: Can't release lock we don't hold
      at org.apache.manifoldcf.core.lockmanager.ZooKeeperConnection.releaseLock(ZooKeeperConnection.java:815)
      at org.apache.manifoldcf.core.lockmanager.ZooKeeperLockObject.clearLock(ZooKeeperLockObject.java:218)
      at org.apache.manifoldcf.core.lockmanager.ZooKeeperLockObject.clearGlobalWriteLockNoWait(ZooKeeperLockObject.java:100)
      at org.apache.manifoldcf.core.lockmanager.LockObject.clearGlobalWriteLock(LockObject.java:160)
      at org.apache.manifoldcf.core.lockmanager.LockObject.leaveWriteLock(LockObject.java:141)
      at org.apache.manifoldcf.core.lockmanager.LockGate.leaveWriteLock(LockGate.java:205)
      at org.apache.manifoldcf.core.lockmanager.BaseLockManager.leaveWrite(BaseLockManager.java:1224)
      at org.apache.manifoldcf.core.lockmanager.BaseLockManager.leaveWriteLock(BaseLockManager.java:771)
      at org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool.pollAll(ConnectorPool.java:670)
      at org.apache.manifoldcf.core.connectorpool.ConnectorPool.pollAllConnectors(ConnectorPool.java:338)
      at org.apache.manifoldcf.agents.transformationconnectorpool.TransformationConnectorPool.pollAllConnectors(TransformationConnectorPool.java:121)
      at org.apache.manifoldcf.agents.system.IdleCleanupThread.run(IdleCleanupThread.java:91)

        Attachments

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              Moltroon Maxence SAUNIER
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: