manifoldcf-dev mailing list archives

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

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

Kamil Żyta commented on CONNECTORS-1070:
----------------------------------------

I removed combined service from manager UI. My webapps directory contains only: host-manager,
manager, mcf-api-service, mcf-authority-service, mcf-crawler-ui.
Now I use zookeeper so no lock-clean.
EVERYTHING I shut down (tomcat, agents, zookeeper).
Start zookeeper. looks good, start first agents process and exception flood my logs...
Here is paste from ps faux on box: http://wklej.org/hash/23c371a855f/
I use external postgresql db, maybe there are some records for 'active' crawler workers?

> 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