WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> Tasks switching to not running
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1310466408

Message started by Rockingdodge on Jul 12th, 2011 at 12:26pm

Title: Tasks switching to not running
Post by Rockingdodge on Jul 12th, 2011 at 12:26pm
Is there any set of conditions or settings that will cause tasks to switch themselves to not running?
We have some issues with network drop outs that seem to cause some of the tasks to enter a state of not running when we know that there has been no manual intervention.

Title: Re: Tasks switching to not running
Post by Dirk on Jul 12th, 2011 at 12:32pm
Yes, this can happen if you watch a network drive and that drive is not reachable for a longer period of time. Mostly when the task is running as windows service.
You can set up a email warning in "Other" tab to get a warning when your watched folder is not reachable or you can use our "add on" tool WxRemote to remotly check your tasks and start/stop the tasks: http://www.gdpsoftware.com/en/wxtools/

Title: Re: Tasks switching to not running
Post by Rockingdodge on Jul 12th, 2011 at 12:39pm
These drop outs are momentary typically being less than 1 second but enough to affect our other applications if they are writing or polling netwok location at that time.
We do get warning emails of traversing directories off some of the watch directory tasks but those remain running while others seem to switch off without sending error emails.

Title: Re: Tasks switching to not running
Post by Dirk on Jul 12th, 2011 at 12:48pm
You can try a different polling method to see if that helps.
Are those tasks running as Windows Services? If so you can try to restart the service automatically in Windows Services mmc.

Title: Re: Tasks switching to not running
Post by Rockingdodge on Jul 12th, 2011 at 12:57pm
No we have moved to the polling method as the fast method proved to not detcting new files 100%.
We have moved away from Windows services because we maxed out with other apps that were using the service.

Title: Re: Tasks switching to not running
Post by Dirk on Jul 12th, 2011 at 1:22pm
Hmm, please send us a backup of one of the tasks with enabled debug when it happened next time.
See here for how to enable debug and backup a task:
http://blog-en.gdpsoftware.com/2010/06/send-task-backup-to-support.html

Maybe we can see something in the logs.

Title: Re: Tasks switching to not running
Post by Gert on Jul 12th, 2011 at 2:59pm
Also make sure to read this post with tips how you can minimize the number of tasks you run:
http://blog-en.gdpsoftware.com/2009/05/how-many-tasks-does-watchdirectory.html

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.