-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entity-manager take up too many resources #30
Comments
The background log keeps scrolling |
root@BMC:~# time busctl tree xyz.openbmc_project.EntityManager | cat real 3m9.069s |
What hardware are you running this on? Is the EM JSON all upstreamed or do you have your own JSON you are loading? Are you able to share it if it isn’t upstreamed? |
AST2500,the EM file is: |
oem_xxx type You can interpret it as xxx type |
I see a number of logs, but given you're using a non upstreamed system on a fork, it's nearly impossible for anyone to debug this for you. One possibility is that something on your system is repeatedly calling the DBus ReScan() method, which is causing EM to rescan over and over. It's difficult to make any more guesses without being able to see the complete code, and being based on a fork. |
I don’t see anything obviously wrong here that would have itself cause performance issues as you’ve described. I will say that the probe statement in the chassis object is far too unspecified. Just looking for “BMC” is a lot less than desirable; certainly this never could be upstreamed in its current state. I would suggest you get your backplane eeprom to have more specific details in it. |
I am based on that commit:
|
CPU: 63% usr 35% sys 0% nic 0% idle 0% io 0% irq 0% sirq
Load average: 5.90 5.09 4.25 2/102 2848
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
1177 1 root R 10416 2% 55% /usr/bin/entity-manager
1182 1 root D 7808 2% 10% /usr/bin/fansensor
1180 1 root D 7432 2% 7% /usr/bin/adcsensor
1185 1 root D 7804 2% 6% /usr/bin/psusensor
1184 1 root S 6804 2% 3% /usr/bin/hwmontempsensor
2836 31946 root R 3116 1% 2% top
2210 1661 root S 3116 1% 1% top
343 340 messageb S 3696 1% 1% dbus-broker --log 4 --controller 9 --machine-id 734d44fa48f34a3a9a089754db3d802e --max-bytes 536870912 --max-fds 4096 --max-matches 16384 --audit
31929 1 root S 3752 1% 1% /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -G priv-admin -B
973 1 root S 45060 11% 1% /usr/sbin/rsyslogd -n
171 1 root S 34072 8% 1% /lib/systemd/systemd-journald
426 1 root S 18040 4% 1% ipmid
Sep 27 08:37:09 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:09 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:09 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:09 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:11 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: run 604
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:15 BMC entity-manager[1177]: ~PerformScan 621
Sep 27 08:37:16 BMC entity-manager[1177]: ~PerformScan 630
Sep 27 08:37:16 BMC entity-manager[1177]: findDbusObjects 205
Sep 27 08:37:16 BMC entity-manager[1177]: run 604
Sep 27 08:37:17 BMC entity-manager[1177]: getInterfaces 86
Sep 27 08:37:17 BMC entity-manager[1177]: getInterfaces 86
Sep 27 08:37:17 BMC entity-manager[1177]: getInterfaces 86
Sep 27 08:37:17 BMC entity-manager[1177]: getInterfaces 86
Sep 27 08:37:17 BMC entity-manager[1177]: getInterfaces 86
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:17 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:18 BMC ipmid[426]: thresholdChanged: deassert
Sep 27 08:37:20 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:21 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:21 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:21 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:21 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:21 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus: Found probe match on /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:24 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: run 604
Sep 27 08:37:25 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/BMC xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W_______ xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________0 xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________1 xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: probeDBus /xyz/openbmc_project/FruDevice/CRPS1600W________2 xyz.openbmc_project.FruDevice
Sep 27 08:37:25 BMC entity-manager[1177]: ~PerformScan 621
The text was updated successfully, but these errors were encountered: