If you have started the engine, then MsiAttach was started.
The engine gets it’s stats for the status display the same place you are getting them from and so needs to attach to the shared memory.
I think the error you are seeing is really an advisory simply telling you the region is already active.
I normally do a catch for the MsiAttach simply so that I can control the issuance of the ‘advisory’ and still assure I get connected in case the region is not active when I start. I do not take any extraordinary action when the catch happens as I am still going to get my stats.
I don’t know if you are aware you can get msi stats from a command line Tcl proc.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.