Yes, you are correct that once mqsi_free_master_parsers is set, resource stats for parsers are disabled. This is because the parsers are deleted at the end of each message flow invocation with the setting set and so there are no cached parsers to report the usage of.
It's not in the template for node.conf.yaml, but it is possible to add any server level settings to the node.conf.yaml that you want to apply to all servers. The conf.yaml files are all loaded by the servers in the appropriate hierarchical order and so the settings in the earlier files are configured first, and are then overridden as later ones define the same thing, or the settings remain if you do not override them later. So you can just copy the snippet that Trevor shared above into node.conf.yaml
ResourceManagers:
ParserManager:
freeMasterParsers: true
and then it will be picked up by all servers as long as an individual server does not override it itself with a different value.
------------------------------
David Coles
App Connect Developer
------------------------------
Original Message:
Sent: Fri March 17, 2023 11:01 AM
From: Francisco A Buccafusca
Subject: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?
Hello Trevor,
Thanks for your help!!!!
Although you wrote that this setting can be set in node.conf.yaml as well as for each individual server, I was able to find it only in the server.conf.yaml file.
Once freeMasterParsers is true, the Parsers resource statistics option in the WebUI is not available.
Thanks agaiin!
------------------------------
Francisco A Buccafusca
Argentina
Original Message:
Sent: Thu March 16, 2023 10:23 AM
From: Trevor Dolby
Subject: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?
Hello Francisco,
As well as the env var (which still exists, as Matthias says), you can use server.conf.yaml to set the value:
ResourceManagers:
ParserManager:
freeMasterParsers: true
This can be set in node.conf.yaml as well as for each individual server.
The YAML setting is the expected way to do this these days, hence there being less emphasis on the env var solution, but sadly I can't see it in the docs anywhere. It's in the template server.conf.yaml for the server, so it's intended to be public, but not mentioned in the docs as far as I can see.
------------------------------
Trevor Dolby
IBM Expert Labs
Original Message:
Sent: Tue March 14, 2023 11:11 AM
From: Francisco A Buccafusca
Subject: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?
Hello Matthias,
As this environmental variable is not in the documentation of ACE, we ask you how do you applied it?
We are running ACE with one Integration Node with five Integration Servers on Linux x64.
Thanks in advance!
------------------------------
Francisco A Buccafusca
Argentina
Original Message:
Sent: Tue March 14, 2023 02:26 AM
From: Matthias Blomme
Subject: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?
Hi Francisco
We have set this in ACE to prevent memory buildup of some integration servers that are heavily used.
So yes, it is still there and you can use it.
------------------------------
Regards
Matthias Blomme
Original Message:
Sent: Mon March 13, 2023 10:43 AM
From: Francisco A Buccafusca
Subject: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?
Dear Experts,
In IIB we have the MQSI_FREE_MASTER_PARSERS environment variable to free resources. Do you know if this environment variable is also available for ACE or ACE has a new one to accomplish this task?
Thanks in advance.
------------------------------
Francisco A Buccafusca
Argentina
------------------------------