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

Karl Wright commented on CONNECTORS-846:
----------------------------------------

Possibilities include:
(a) webapps are not calling poll properly
(b) connectorpool is not able to relinquish connector instances, and so once a 
process grabs them all they cannot be reallocated
(c) service registration is messed because webapp isn't cleaning up properly.


> Multiprocess-file example: Hang when editing job after job has been running
> ---------------------------------------------------------------------------
>
>                 Key: CONNECTORS-846
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-846
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework crawler agent
>    Affects Versions: ManifoldCF 1.5
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.5
>
>
> Reproduce in this way:
> (1) Use the multiprocess file example.
> (2) Start everything up
> (3) Create filesystem/null connections
> (4) Create a test job
> (5) Run the test job for a while
> (6) ^C jetty
> (7) Start webapps again
> (8) Stop the crawl
> (9) Try to edit the job
> Here's the thread dump:
> {code}
> "qtp364089744-19" prio=6 tid=0x000000000af33800 nid=0x1958 in Object.wait() 
> [0x000000000cfcd000]
>    java.lang.Thread.State: WAITING (on object monitor)
>       at java.lang.Object.wait(Native Method)
>       - waiting on <0x00000000efea6800> (a 
> org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool)
>       at java.lang.Object.wait(Object.java:503)
>       at 
> org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool.getConnector(ConnectorPool.java:446)
>       - locked <0x00000000efea6800> (a 
> org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool)
>       at 
> org.apache.manifoldcf.core.connectorpool.ConnectorPool.grab(ConnectorPool.java:255)
>       at 
> org.apache.manifoldcf.crawler.repositoryconnectorpool.RepositoryConnectorPool.grab(RepositoryConnectorPool.java:86)
>       at org.apache.jsp.editjob_jsp._jspService(editjob_jsp.java:598)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to