compy icon indicating copy to clipboard operation
compy copied to clipboard

100% CPU load

Open hdid opened this issue 6 years ago • 4 comments

Sometimes after heavy loads; one of child processes continues 100% loading and does not come back to normal load! (even if i'm not using it).

hdid avatar Nov 30 '19 17:11 hdid

I confirm this issue. What could be workaround for this unpleasant behavior of such abnormal tasks?

eugene-su avatar Dec 02 '19 05:12 eugene-su

My temporary dirty solution is to add next 2 lines in systemd unit:

Restart=always
RuntimeMaxSec=600

eugene-su avatar Dec 02 '19 16:12 eugene-su

Could you get some backtraces to figure out what's going on? This might help:

https://stackoverflow.com/a/27398062

I also have seen high CPU usage but in my case it was external clients who discovered my open proxy and were routing through it. This is why I added HTTP BASIC authentication in #20.

gaul avatar Feb 02 '20 13:02 gaul

@gaul, absolutely only I use my proxy: access to it is available only for local addresses. I can reproduce a case of this bad behavior:

  1. open a large image in a separate browser tab (3-5 MB);
  2. close this tab without waiting for a full download. After that, the cpu is loaded 100% until you kill the process.

eugene-su avatar Feb 04 '20 10:02 eugene-su