andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

100% CPU usage in background #447

Open abitrolly opened 5 years ago

abitrolly commented 5 years ago

I've noticed Enki overheats my notebook even staying in background with 6 open files.

  PID    PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND           
 2417    20   0 3207824  10504   4804 S  99.7  0.1 461:47.30 enki              

image Fedora 28. Gnome. Wayland.

andreikop commented 5 years ago

Hmm. It will be quite difficult to reproduce. Do you often have this problem? After which actions?

abitrolly commented 5 years ago

Not often. Just noticed. I will keep this updated if it repeats.

abitrolly commented 5 years ago

Happened again. Just stayed open for half an hour.

abitrolly commented 5 years ago

After exit GUI quits, but process still stays there eating CPU.

andreikop commented 5 years ago

@abitrolly , run htop and activate tree view. You'll see enki threads and processes. Make a screen, it could give some useful information.

andreikop commented 5 years ago

See also #312. strace also might be useful