[MarkLogic Dev General] Task Server tasks queued
Jakob Fix
jakob.fix at gmail.com
Thu Jun 3 08:55:22 PDT 2010
Hi Bob, when I was confronted with this poblem I was pointed the admin
interface to study how it is managed there. I think there are Xquery
functions in there that can help you get this information.
My problem was to dynamically increase or decrease the queue size of
the task server which is possible but requires a server restart (so I
had to find another solution).
cheers,
Jakob.
On Thu, Jun 3, 2010 at 17:38, Bob Runstein <rrunstein at msn.com> wrote:
>
> Is there a function to return the number of tasks queued up in the Task Server (or let me know when it is empty)? We have some pipeline processing that queues up a large number of tasks and have tried to throttle the ingest by submitting a batch of documents at preset time intervals, but we have still overflowed the queue (currently at 500,000). While we could make the time intervals longer or increase the queue size even more, it would be preferable if we could check for an empty queue before we submit the next batch.
>
> Bob
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
More information about the General
mailing list