I am using the call create_participant_with_profile to create domain participants but after creating 4, I get an error when attempting to create a 5th. Is there a configuration value in NDDS_QOS_PROFILES that controls max domain participants?
I can change the code around and it is always the 5th participant creation that fails.
To Add a little more detail....
I tried solutions in this order:
1. Created an environment variable NDDS_DISCOVERY_PEERS with the value 8@localhost. I also tried the same thing replacing localhost with the actual name of my machine, but this didn’t help.
2. I tried adding 8@loaclhost to the discovery peers section in NDDS_QOS_PROFILES.xml ( not sure if this format is valid or not) but again I got the RETCODE_ERR when creating the 5th Domain Participant.