Hi,

I recently spent a sleepless night debugging a similar issue at one of my 
clients. It turned out that client had a bug in a CPF process which was locking 
documents but instead of timing out after the bug occurred the CPF process 
never timed out. This caused documents to be locked indefinitely because the 
process continued to stay alive.

The way I discovered this was to go to the monitoring dashboard (eg. 
http://localhost:8002/dashboard/ ) and to see what was generating the longest 
running queries.

Hope that helps.

Best,
Rob

Rob Szkutak
Senior Consultant
MarkLogic Corporation
[email protected]
www.marklogic.com<http://www.marklogic.com>

________________________________
From: [email protected] 
[[email protected]] on behalf of Pavadaidurai A 
[[email protected]]
Sent: Wednesday, February 03, 2016 4:32 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Lock issue in Marklogic

Hi All,

I am facing lock issue on one of the xml and seems to be locked forever. When I 
put the lock trace event it just gives me the numbers for waiting, holding, 
blocking etc. Is there a way to find which process is holding the file?

2016-02-03 09:45:28.369 Info: [Event:id=Lock Trace] 
forest=consynContentForest-13 uri=/repo/user/quantifind/alerts.xml 
waiting=12164363046587517933 holding=18429539722387502200 
blocking=13021468673001868980
2016-02-03 09:45:28.369 Info: [Event:id=Lock Trace] 
forest=consynContentForest-13 uri=/repo/user/quantifind/alerts.xml 
waiting=12164363046587517933 holding=18429539722387502200 
blocking=13021468673001868980

Thanks,
Durai.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to