GetConnectionUnixUser

Tanner, Brad (EXL Ft Collins) bradley.tanner at hpe.com
Wed Apr 12 07:24:35 AEST 2023


We use externalsensor to host dbus objects and publish the values with custom code. During busy times on our BMC, the Property Set method takes a long time to complete. I noticed with monitor that every Set is accompanied by a method call to GetConnectionUnixUser, which must complete before the response to the Set is sent. It may be

Type=method_call  Endian=l  Flags=0  Version=1 Cookie=2  Timestamp="Fri 2023-04-07 18:32:28.483676 UTC"
  Sender=:1.81  Destination=xyz.openbmc_project.ExternalSensor  Path=/xyz/openbmc_project/sensors/temperature/TestSensor  Interface=org.freedesktop.DBus

Type=method_call  Endian=l  Flags=0  Version=1 Cookie=26  Timestamp="Fri 2023-04-07 18:32:28.484291 UTC"
  Sender=:1.56  Destination=org.freedesktop.DBus  Path=/org/freedesktop/DBus  Interface=org.freedesktop.DBus  Member=GetConnectionUnixUser

Type=method_return  Endian=l  Flags=1  Version=1 Cookie=-1  ReplyCookie=26  Timestamp="Fri 2023-04-07 18:32:28.484468 UTC"
  Sender=org.freedesktop.DBus  Destination=:1.56

Type=method_return  Endian=l  Flags=1  Version=1 Cookie=28  ReplyCookie=2  Timestamp="Fri 2023-04-07 18:32:28.485179 UTC"
  Sender=:1.56  Destination=:1.81

Is there a way to prevent this extra dbus traffic?

Thanks,
Brad Tanner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20230411/8891ae02/attachment-0001.htm>


More information about the openbmc mailing list