May 20, 20242 yr Hi all, since a few days ago I saw that the power consumption has gone up by ~20W for my idle Unraid server (6.12.9). I have not made any changes to the server for a few weeks (apart from regular docker updates if available), and I cannot identify a reason why this has suddenly happened. When checking the system with "top" I can see that a "python3" command by the user "nobody" is consistently using around 30-50% CPU (see also attached image). I cannot identify any docker updates that went hand in hand with it so I do not think it was a docker update or plugin update that led to this. My server is a : Intel® Core™ i3-10300 CPU @ 3.70GHz ASUSTeK COMPUTER INC. TUF GAMING B560M-PLUS WIFI , Version Rev 1.xx Is there any way to find out where this python3 command originates from? It is really driving up my power consumption and I need to get this sorted out. If any logs would help, please let me know which ones would be helpful or if there is an easy way for me to check. THanks in advance for any help.
May 20, 20242 yr Community Expert lsof -p 27139 You can find the exe easily by these ways, just try it yourself. https://stackoverflow.com/questions/606041/how-do-i-get-the-path-of-a-process-in-unix-linux ll /proc/<PID>/exe pwdx <PID> lsof -p <PID> | grep cwd since we know the pid: 27139 we can use other commands to get that data. If i'm understanding you correctly yo want the execution path: try readlink -f /proc/27139/exe pwdx 27139
May 21, 20242 yr Community Expert Solution The "path to the exe" won't be very helpful, because python is an interpreter so knowing WHERE python is located is not sufficient. You need to find the commanline arguments of that python task to see which script it is executing. You can find this out by issuing: ps -axf | grep python Sample: root@F:~# ps axf | grep python 22554 pts/2 S+ 0:00 \_ grep python 19645 ? Ssl 7:08 \_ python3 -m homeassistant --config /config 29547 ? Ssl 0:07 | \_ python3 /app/calibre-web/cps.py 19031 ? S 0:04 \_ /usr/bin/python3 /usr/bin/websockify -D --web=/usr/share/novnc/ --cert=/etc/ssl/novnc.pem 8080 localhost:5900 23412 ? S 0:01 \_ /usr/bin/python3 /usr/bin/websockify -D --web=/usr/share/novnc/ --cert=/etc/ssl/novnc.pem 8080 localhost:5900 here several pythons are working at the same time, so compare the pid (first number) to the one you have seen in top.
June 4, 20242 yr Author Thanks both of you. MAM59 your solution worked smoothly and it was Bazaar going a little crazy. After correcting my settings it is back to normal levels :).
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.