[MarkLogic Dev General] SVC:EXTIME -- Time limit exceeded

Damon Feldman Damon.Feldman at marklogic.com
Tue Feb 28 06:41:58 PST 2012


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: general-bounces at developer.marklogic.com [mailto:general-bounces at 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 <mike at blakeley.com<mailto:mike at 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?
>
> Thanks and Regards,
> Jaspreet Singh
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com<mailto:General at developer.marklogic.com>
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
General at developer.marklogic.com<mailto:General at developer.marklogic.com>
http://developer.marklogic.com/mailman/listinfo/general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120228/c58ef612/attachment.html 


More information about the General mailing list