App Connect

 View Only
  • 1.  Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    Posted Mon March 13, 2023 10:43 AM

    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
    ------------------------------


  • 2.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    IBM Champion
    Posted Tue March 14, 2023 02:27 AM

    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
    ------------------------------



  • 3.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    Posted Tue March 14, 2023 11:11 AM

    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
    ------------------------------



  • 4.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    IBM Champion
    Posted Wed March 15, 2023 01:54 AM

    Hi Francisco

    We got confirmation from IBM that the variable is still availble as a reply on a case we opened.

    We just add the environment variable at the end of 

    $installDir\server\bin\mqsiprofile.cmd

    Or you can set is as an environment variable at system level, then it would always be available.



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 5.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    Posted Thu March 16, 2023 10:24 AM

    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
    ------------------------------



  • 6.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    IBM Champion
    Posted Fri March 17, 2023 02:58 AM

    @Trevor Dolby 

    Its a very well hidden setting indeed. Support also didn't mention this one.

    I'm going to add this to our setup and remove setting it in the environment.

    Thx!



    ------------------------------
    Regards
    Matthias Blomme
    ------------------------------



  • 7.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    Posted Fri March 17, 2023 11:01 AM

    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
    ------------------------------



  • 8.  RE: Is MQSI_FREE_MASTER_PARSERS environment variable available for ACE?

    Posted Fri March 17, 2023 11:09 AM

    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
    ------------------------------