Closed npyl closed 6 years ago
I also seem to have high CPU usage on macOS 10.13.5, having done make install
.
It also happens regardless of using double_buffer
or not.
The problem seems to reside in darwin.cc
in get_top_info_for_kinfo_proc
and specifically in the while-loop.
I have amended the problem by adding a usleep()
call with a minimum value of 500
usec.
Please check the latest commit.
EDIT: It should work fine for values higher than 0.5 sec as update interval for conky (with the -u
option)
Significant improvement for me, gone from 99.6% CPU usage to 2.9.
Thats great news! I think this can be closed now!
Steps
Compile conky following Unix-Makefiles process Use default settings Run
make install
at the endResult:
Conky starts, loads to the point that says
conky: drawing to created window (0x600001)
and stays there stuck. In activity monitor we notice excessive CPU usage.