on 06-22-2016 3:52 PM
Hi
We have PCo v15 running on a remote PC. It uses FileMonitor Agent to send log files to MII, and then renames the file to avoid sending it again.
This has suddenly stopped working, though the Agent Instance still reports as running fine. The connections to MII have been checked and also seem fine.
There are no errors in the error log, just a warning - "The maximum number of dispatch threads configured exceeds 60% of the total threads available"
We have tried all the usual rebooting and restarting PCo, but with no joy.
Does anyone have any ideas?
Just let me know if you need any further info.
Regards
Nick
Hi Nick,
Regards, Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
You really need to find out why the file was left locked in the first place. With the 'Notify Only If File Is Unlocked' box unchecked, you could possible receive incomplete content from the file, especially if it is a large file. Also, if the file is locked, you likely cannot rename/move/delete the file either, and it may get processed over and over again until it is unlocked.
Regards, Steve
Hi
The way it seems to work is when we pass a job to the machine, it creates a log file for that job. Each operation is written to this log file, but between writing operations the file is not locked, so PCo has no idea whether the job is finished or not, and just sends the file across, and renames it.
The m/c doesn't care, it just creates a new log file and carries on.
As you can imagine, the danger of errors, duplicated entries and data spread across several files is quite significant, so my transaction in MII already deals with all these scenarios
So switching off this locking check may cause more errors, but the transaction expects these, and should deal with them.
Thanks for all your help
Nick
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.