Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Same Map Dependency Issues

Status
Not open for further replies.

clk430

Programmer
Sep 21, 2005
235
US
We have a generic router map that is basically 1 input, 1 output, input=output. It is called generic.mms/generic.mmc. We use it in almost all of our systems, unrelated and related to have a basic I/O map and more so, to use the batch output adaptor in the IFD to call external batch scripts/executables.

My question is, if a system that uses this map gets hung (say, the executable that the batch script it calls fails and the map does not complete), could all other instances of this generic map get hung as well? Is this poor design to have so many systems dependant on one generic map?
 
In other words, System ABC.msd uses generic.mms to call encrypt.exe. System XYX.msd uses generic.mms to call zip.exe. If the generic.mms is hung in ABC, will XYZ be effected?
 
Each Event Server (I am assuming you are using UNIX or multi-process Event Server) will have a separate image of the map in memory.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
We are using a Windows 2000 OS with 1 CPU on Mercator 6.7. Should I assume we don't qualify?
 
If you are in a single Event Server, and it hangs, it is hung.
It might be possible to have one map hang and other keep processing, since each call to a map is it's own instance and thread, as long at there is no threading conflict.

Each map instance runs in it's own thread.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Or, if this generic map has two outputs, one of which is written to the same, hardcoded file in the IFD settings? eg. mercatorlog.txt I assume this file creates a contention and if all other generic maps in other threads point to it, then they will all hang.

I've learned a lot in this thread. Thanks Boca.
 
you are welcome, wait till you get the bill :)



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Gotta love the anonymity of internet. No billing address. :)
 
Anonimity? You run Windows. The last .wmf you played has sent me your passwords, your social security number, your address and the name of your dog :)

It's time to change the oil in your car and check the air pressure in your right rear tire, too :)



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top