manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1070) Agents thread exception loop
Date Thu, 09 Oct 2014 15:32:33 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165265#comment-14165265
] 

Karl Wright commented on CONNECTORS-1070:
-----------------------------------------

Hi Kamil,

Lock clean for file-based synchronization removes *all* state for synchronization.  This is
the only place synch info is kept.  The "repair" procedure is therefore to run lock clean.
 It has worked fine for others for many many years.

For zookeeper, even lock clean is not necessary.  Even if you kill -9 a process, you should
never need to stop zookeeper, wipe its data, and start it up again.  I am honestly completely
at a loss how you are managing to cause this.  Unless you can provide steps to reproduce,
I will have to close this ticket as "unreproducible".

Thanks.


> Agents thread exception loop
> ----------------------------
>
>                 Key: CONNECTORS-1070
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1070
>             Project: ManifoldCF
>          Issue Type: Bug
>    Affects Versions: ManifoldCF 1.7
>            Reporter: Kamil ┼╗yta
>            Assignee: Karl Wright
>
> occasionally when I stop&start crawler agents they fall into infinite loop.
> I don't know how to stop this exception. stop agents, ui, clean lock do not help.
> Log growing fast with messages
> ------------------------------------------------------------------------------------------
> ERROR 2014-10-09 13:58:44,206 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ERROR 2014-10-09 13:58:44,210 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ERROR 2014-10-09 13:58:44,214 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ------------------------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message