Dragon Global Forums

Go Back   Dragon Global Forums > Other Software > DirMon Discussion

DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-26-2006, 06:00 PM
Junior Member
 
Join Date: Jun 2005
Posts: 21
perfessor101 is on a distinguished road
Default Dirmon loosing track of batch file used to start VideoRedo

Hey, Hello,
I'm having a problem that pops up periodically (usually just before I decide to reinstall windows).
I run Dirmon2 and ShowAnalyzer on my workstation with all the video files residing on The SageTV server.

I use dirmon to launch Videoredo's Quickstream Fix through a windows batch file. (If a file doesn't play in SageTV, I find the mpg and drop it on a shortcut to make a trigger for Dirmon2 to start VideoRedo QSF on the afflicted mpg)

The batch file runs Videoredo's vp.vbs script to launch the process and somewhere near or at the end of the windows batch file Dirmon looses track of the associated executing batch file, leaving a processor still running with a PID of zero that never clears. I launch Show Analyzer through a similar batch file and it doesn't seem to get lost by DirMon. Files of varying quality and length take varying amounts of time to process so I shy away from setting a timeout on the processor ... and if every file took the maximum amount of time ...

I was looking through the logs after a daily reboot of my SageTV server and I found that as the connection was going down if Dirmon2 was scanning the UNC paths of the SageTV Server and only gets a partial directory list it attempts to delete all unmatching extensions, but if the connection is down nothing to worry about.

Thanks for your time,
Bobby

ps -- tomorrow I'll be putting pause statements every few lines in the batch files to try and figure out exactly when the PID gets lost.
Reply With Quote
  #2 (permalink)  
Old 09-27-2006, 12:19 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Interesting. What I'll probably do is have DM2 kill the job if the PID turns up as 0. That might fix this problem. Or it could blow up and you'd have an uncontrollable number of jobs running at the same time.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #3 (permalink)  
Old 09-28-2006, 10:40 AM
Junior Member
 
Join Date: Jun 2005
Posts: 21
perfessor101 is on a distinguished road
Default It appears as if the process is just queued but never launched

It appears as if the process is just queued but "never launched" ... I'll do some more investigating ...

When it does happen none of the commands in the batch file are executed ... (although it would seem the batch file is started?) pausing it won't work as the command windows don't come up ... but I'll throw a few statements in the batch file to help trace it's progress.
Reply With Quote
  #4 (permalink)  
Old 09-29-2006, 10:36 AM
Junior Member
 
Join Date: Jun 2005
Posts: 21
perfessor101 is on a distinguished road
Default It did it a few times in the past ... but it hasn't done it again in the last few day

It did it a few times in the past ... but it hasn't done it again in the last few days ...

If restarting Dirmon2 Hidden doesn't fix it, sometimes a reboot or reinstall of windows does ...

Here's to hoping it doesn't come back ...

Bobby
Reply With Quote
  #5 (permalink)  
Old 10-01-2006, 10:06 PM
Junior Member
 
Join Date: Oct 2006
Posts: 7
hammondr is on a distinguished road
Default dirmon2 says it's starting SA, but doesn't look like it

I'm having the same problem with version 0.6.1.40. The GUI will show a process with pid 0, and the process number never changes or updates. The log file shows '2006-Oct-01 20:52:39 - Starting: "PVR" on "G:/PVR2/EmerilLive-ShrimpAroundtheWorld-217312-0.mpg' for example, but it doesn't look like SA ever starts. There is no SA log file, nore .edl files as normal.

When I restart the dirmon2 service, this normally clears the queue, but sometimes it fails again while still processing the backlog.

I tried to set the dirmon2 timeout to 3600 seconds for this job, but that seems to have no effect. I suspect dirmon2 is not detecting that the job it intended to start didn't, or (possibly) that the SA job did start but dirmon2 is not detecting a timeout.

Any thoughts?

Thanks,
Ryan
Reply With Quote
  #6 (permalink)  
Old 10-02-2006, 11:54 AM
Junior Member
 
Join Date: Oct 2006
Posts: 2
jouden is on a distinguished road
Default Having the same problem

Hai,

I'am exactly experiencing the same problem with my batch file. Problem seems to occur when one of the conditions are met in the "when" box (e.g. target file is not finished). After finishing tye target file, the batch file will not be executed and the process that is still activated does not want to end even when timeout is enabled.

Regards,
JC
Reply With Quote
  #7 (permalink)  
Old 10-03-2006, 01:04 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

What you are describing could be the cause of a race condition. I have an idea. (lightbulb!)

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #8 (permalink)  
Old 10-03-2006, 02:49 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

I've just uploaded a new version. Give it a shot.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #9 (permalink)  
Old 10-03-2006, 05:02 PM
Junior Member
 
Join Date: Jun 2005
Posts: 21
perfessor101 is on a distinguished road
Default Thank you ...

just downloading and installing today ...
Reply With Quote
  #10 (permalink)  
Old 10-08-2006, 05:20 PM
Junior Member
 
Join Date: Oct 2006
Posts: 7
hammondr is on a distinguished road
Thumbs up worked!

Jere, that last version works great for me ... haven't had a problem since downloading 4 days ago. Thanks for the fix!

Incidentally, what race condition did you find?

Thanks,
Ryan
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Batch File culprit DirMon Discussion 1 09-11-2007 03:02 PM
Batch processing of several previously undetected recordings dknia ShowAnalyzer Beta 1 10-17-2006 10:15 PM
Dirmon processing multiple copies of same file src666 DirMon Discussion 2 05-18-2006 12:04 AM
Wishlist: Batch Processing breadman ShowAnalyzer Beta 8 11-16-2005 03:36 PM
How to start dirmon automatically? lovingHDTV DirMon Discussion 3 08-14-2005 01:41 AM


All times are GMT -4. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0