Hi Ken,
We have configured to run on only one host. We tried to print
the host id also as part of the log. By that we could identify that it is
executed from same host.
Please find the trace below. (highlighted in brown) Is something that prints
within same minute.
Host Id : 15744796049985913206
Log:
2014-09-15 03:56:00.498 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 03:57:00.542 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 03:57:02.688 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 03:58:00.586 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 03:59:00.635 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:00.678 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:03.491 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:03.721 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:05.991 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:08.780 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:13.660 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:00:18.576 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:01:00.728 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:02:00.776 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:02:24.887 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:03:00.821 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:04:00.872 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:05:00.910 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:06:00.948 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:07:00.990 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:08:00.029 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:09:00.075 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:10:00.123 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:10:02.184 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:10:02.984 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:11:00.169 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:12:00.218 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:13:00.262 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:14:00.306 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:15:00.368 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:15:01.637 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:16:00.384 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:16:01.715 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:17:00.431 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:18:00.476 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:19:00.520 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
2014-09-15 04:20:00.562 Info: TaskServer: AUTOFEED: Start of autofeed scheduled
task 'autofeedCheck.xqy'15744796049985913206
Thanks & Regards,
Santhosh
From: [email protected]
[mailto:[email protected]] On Behalf Of Ken Tune
Sent: Monday, September 15, 2014 6:01 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Minutely scheduled job is executing more
than once within a minute - reg.,
Santhosh
You have possibly configured the task to run on all hosts in the cluster rather
than just one?
You can specify the host the task should run on at setup time.
Ken
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of
[email protected]<mailto:[email protected]>
Sent: 15 September 2014 13:29
To: [email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] Minutely scheduled job is executing more than
once within a minute - reg.,
Hi All,
We have created a minutely scheduled job in Mark logic server.
At the beginning of that scheduled module, we are printing a log message.
Log Message: "Start of minutely scheduled task". We have noticed that this log
is printed (2 to 4 times) within a minute very frequently in the log.
As it is a minutely job, it should be executed only once per minute.
Note: This repeated execution within a minute is happening , when the task
server is loaded with other tasks to process. Otherwise it is executing /
printing only once.
We tried to change the priority of that scheduled task to higher priority, it
didn't help.
Can somebody say why it is behaving like this? Please suggest.
Marklogic Server Version: 6.0-5.3
Hosts in Cluster : 3
Thanks & Regards,
Santhosh
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general