View previous topic :: View next topic |
Author |
Message |
richard.obrien
Joined: 03 Jun 2010 Posts: 7
|
Posted: Thu Jun 03, 2010 5:31 am Post subject: Automize Freeze (simultaneous dirMonitor.jsd access?) |
|
|
The following message happened in conjunction with a 'freeze' of the Automize Service & GUI. I have to log out and log back in to get the UI to relaunch.
This is the error log from what looks like when it froze most recently. We have been experiencing Automize freezing like this daily. I will try to monitor whether this is the cause each time.
Code: |
Jun 2, 2010 10:45:00 PM
java.io.FileNotFoundException: data\settings\dirMonitor.jsd (The requested operation cannot be performed on a file with a user-mapped section open)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.hitek.engine.utils.UtilityMethods.saveProperties(UtilityMethods.java:283)
at com.hitek.engine.mods.monitor.DirMonitorTask.trimPropertyFile(DirMonitorTask.java:221)
at com.hitek.engine.mods.monitor.DirMonitorTask.MonitorDirs(DirMonitorTask.java:191)
at com.hitek.engine.mods.monitor.DirMonitorTask.dirMonitorTask(DirMonitorTask.java:71)
at com.hitek.engine.mods.monitor.DirMonitorTask.run(DirMonitorTask.java:41)
|
Contents of the dirMonitor.jsd is this:
Code: |
#File Modified Time in Milliseconds
#Thu Jun 03 09:20:01 EDT 2010
S\:\\Data\\Daily\\DBFX\\Fills_20100601.csv=1275388345316
S\:\\Data\\Daily\\DBFX\\Fills_20100603.csv=1275527035618
\\\\zeus\\shared\\Data\\Daily\\ABFO\\Archive=1275563033077
S\:\\Data\\Daily\\DBFX\\Archive=1275389395464
S\:\\Data\\Daily\\DBFX\\Fills_20100602.csv=1275473187390
|
Installation details:
WinXP x64
Automize 8.39 Standard
Last edited by richard.obrien on Thu Jun 03, 2010 5:43 am; edited 1 time in total |
|
Back to top |
|
 |
richard.obrien
Joined: 03 Jun 2010 Posts: 7
|
Posted: Thu Jun 03, 2010 5:41 am Post subject: |
|
|
I should also note that there is another process that is a directory monitor that runs at the same frequency (both run every 5 minutes) so one monitor may have that file open, preventing the other from opening it. |
|
Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jun 03, 2010 9:52 am Post subject: |
|
|
did you have the output or task log or debug log visible during this time?
did the engine freeze or just the GUI?
how big is the dirMonitor.jsd file? |
|
Back to top |
|
 |
richard.obrien
Joined: 03 Jun 2010 Posts: 7
|
Posted: Thu Jun 03, 2010 9:54 am Post subject: |
|
|
I did not have those logs open at the time of freezing.
It appears the engine freezes as the directory monitor tasks that would run every 5 minutes did not run after that point (until I restarted it). |
|
Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Jun 03, 2010 9:57 am Post subject: |
|
|
richard.obrien wrote: |
I should also note that there is another process that is a directory monitor that runs at the same frequency (both run every 5 minutes) so one monitor may have that file open, preventing the other from opening it. |
what version are you using?
to verify if this is the issue, schedule the other monitor to start at 2, 7, 12 etc.. and the first at 0,5,10... so that both do not have the file open at the same time.. |
|
Back to top |
|
 |
richard.obrien
Joined: 03 Jun 2010 Posts: 7
|
Posted: Thu Jun 03, 2010 9:59 am Post subject: Re: Automize Freeze (simultaneous dirMonitor.jsd access?) |
|
|
richard.obrien wrote: |
Installation details:
WinXP x64
Automize 8.39 Standard
|
I have made the suggested change to offset their run times and will keep you posted! I have my fingers crossed. |
|
Back to top |
|
 |
richard.obrien
Joined: 03 Jun 2010 Posts: 7
|
Posted: Wed Jun 09, 2010 4:44 am Post subject: |
|
|
There have been no further issues since making the change. It appears that may be the bug. |
|
Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Wed Jun 09, 2010 5:30 am Post subject: |
|
|
we will switch to separate dirMonitor_tasktitle.jsd files for each directory monitor task in one of the next few patch updates. |
|
Back to top |
|
 |
|