atom feed15 messages in com.marklogic.developer.generalRe: [MarkLogic Dev General] SVC:EXTIM...
FromSent OnAttachments
JASPREET SINGHFeb 27, 2012 9:28 pm 
Michael BlakeleyFeb 27, 2012 9:47 pm 
JASPREET SINGHFeb 27, 2012 11:54 pm 
Damon FeldmanFeb 28, 2012 6:41 am 
Jonathan Cook - FM&TMar 10, 2012 1:14 pm 
Betty HarveyMar 11, 2012 12:20 pm 
Danny SinangMar 11, 2012 12:54 pm 
Geert JostenMar 11, 2012 1:14 pm 
Michael BlakeleyMar 11, 2012 1:35 pm 
Betty HarveyMar 11, 2012 2:20 pm 
Michael BlakeleyMar 11, 2012 4:44 pm 
JASPREET SINGHMar 12, 2012 4:08 am 
Will ThompsonMar 12, 2012 11:18 am 
JASPREET SINGHMar 12, 2012 9:12 pm 
Will ThompsonMar 13, 2012 8:32 am 
Subject:Re: [MarkLogic Dev General] SVC:EXTIME -- Time limit exceeded
From:Damon Feldman (Damo@marklogic.com)
Date:Feb 28, 2012 6:41:18 am
List:com.marklogic.developer.general

Jaspreet,

Have you actually reproduced the slow query in queryConsole and run it using the
"profile" button? This should show the function calls that are taking the most
time - high "%shallow" numbers indicate that a function is taking a lot of time.

Then, if the slow function calls are xpath or search functions, we can then
advise you on how to turn on query profiling (using xdmp:plan(), for instance).

Yours, Damon

From: gene@developer.marklogic.com
[mailto:gene@developer.marklogic.com] On Behalf Of JASPREET SINGH Sent: Tuesday, February 28, 2012 2:55 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] SVC:EXTIME -- Time limit exceeded

Thanks michael for your suggestion. As you have mentioned to post the code, my
code makes so much of internal function calls to different modules. So, I think
posting the code would not be helpful. I m trying profiling to different
functions but not reaching to the root cause. Should I use the same approach or
you have some experiences to share?

Thanks and Regards, Jaspreet Singh On Tue, Feb 28, 2012 at 11:17 AM, Michael Blakeley
<mi@blakeley.com<mailto:mi@blakeley.com>> wrote: First, profile your code to figure out which bit is taking so long. Then rewrite
it so it's faster. Repeat until you are happy with performance.

If you post code and profiler output here, you might get some suggestions.

-- Mike

On 27 Feb 2012, at 21:28 , JASPREET SINGH wrote:

Hi,

I am getting an error SVC:EXTIME -- Time limit exceeded error during search. We
have a .NET application that sends request to XDBC server of MarkLogic. We have
set the request time out limit as 30 secs which we have to keep anyhow for fast
performance. But when we search millions of documents inside MarkLogic server, we get the
above mentioned error.

What would be the best way to resolve this error? What server settings we should
make to optimize our search results?