Hello,
In my application using RTI Connext 5.2 on RedHat64 bits I'm creating a domain participant using the default profile "User.Generic.Participant.LargeData" that later will host a couple of writers that are using the default profile "User.Generic.StrictReliable.LargeData.MediumFlow". After that by trying to create a RTI Distributed Logger I got the errors from below
domain participant loading profile User.Generic.Participant.LargeData
creating domain participant with id 1
DL Error: RTI_DL_DDSEntities_create: Unable to create Domain Participant
DL Error: RTI_DL_DistLogger_createInstance: Unable to create DDSEntities
DL Error: RTI_DistLogger_getInstance: Unable to create DistLogger singleton!
finalize_instance error 4
Error: Unable to get RTI Distributed Logger Instance
What should I do to avoid the errors ?
Best regards,
Daniel
Hi Daniel,
By default, RTI Distributed Logger tries to create its own Domain Participant but in your case this is failing with no additional information. Could you increase the DomainParticipantFactory's verbosity level to ALL and try again? This could help you debug the cause of this error.
Also, having a separate DomainParticipant for Distributed Logger is expensive in terms of resource consumption and maybe this is not what you want. If you succeeded in creating your first DomainParticipant, you can tell DistributedLogger to reuse it by passing it through RTI_DL_Options with RTI_DL_Options_setDomainParticipant.
Regards,
Gonzalo J.
Hi Gonzalo,
I have the same issue with Yocto Linux (Kernel 4.9.11) on ARM armv7l. I have a process where Distributed Logger is configured and used exactly the same way as in c++/hello_distributed_logger example. Now when calling
RTI_DLDistLogger::getInstance()
function I'm getting NULL as return value and following error trace is printed out by the system
multicast_address_in: 0000:0000:0000:0000:0000:0000:EFFF:0001
interface: 0000:0000:0000:0000:0000:0000:C0A8:838F
DL Error: RTI_DL_DDSEntities_create: Unable to create Domain Participant
DL Error: RTI_DL_DistLogger_createInstance: Unable to create DDSEntities
DL Error: RTI_DistLogger_getInstance: Unable to create DistLogger singleton!
Do you know what's the root cause behind this issue and how to get Distributed Logger instantiated without errors?
Thanks in advance,
Jukka Selesniemi
Hello,
Changing the maximum number of multicast groups we can subscribe to Linux default value
sysctl -w net.ipv4.igmp_max_memberships=
"20"