Yes Abishek you are right ! But try to avoid the long running transactions 
.Like if you are calling the modules from the HTTP or XDBC commit the 
transaction after a part of process of the query is done.If the scenario 
is of loading a large document split it and commit them into batch.

Thanks & Regards
Abhishek Srivastav
Assistant Systems Engineer
Tata Consultancy Services
Plot  B-1, Block EP & GP, Sector 5
Salt Lake Electronics Complex,
Kolkata - 700 091,West Bengal
India
Cell:- +91-9883389968
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
Abishek N <[email protected]>
To:
General MarkLogic Developer Discussion <[email protected]>
Date:
05/05/2011 02:49 AM
Subject:
Re: [MarkLogic Dev General] XDMP-EXTIME: Time limit exceeded
Sent by:
[email protected]



I have encountered a similar problem while loading a huge document from 
one Db to other (ML 4.1 and ML4.2)..  Typically there is not exception on 
the line it is pointing to but the command its executing just before it..  
Because its timing out.. check what is the difference between default time 
limit set on both the HTTP servers and try increasing, it worked for me, 
it might do the trick for u ..

On Wed, May 4, 2011 at 3:52 PM, Srinivasan, Srividya <[email protected]> 
wrote:
Hi,
I am using MarkLogic 3.2.2.  When I run an Xquery, I get the following 
error. If I run the same Xquery on another box which has the same 
database, it works fine.
Any idea on how to debug why this is timing out on this box alone? 
Appreciate your help. 
Thanks in advance.
 
Srividya
500 Internal Server Error
XDMP-EXTIME: Time limit exceeded
on line 8,
in xdmp:eval("declare namespace blah blah")
$prod = doc("/Default/12659668/20080925091812.xml.xml")/product
$ptype = 
doc("/Default/12659668/20080925091812.xml.xml")/product/blah..blah
context-item() = 
doc("/Default/12659668/20080925091812.xml.xml")/blah..blah
position() = 1
in /use-cases/eval2.xqy, on line 2
 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general




-- 
Regards Abishek_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to