-
Notifications
You must be signed in to change notification settings - Fork 62
src command hanging with 100% cpu usage #143
Comments
Sounds like it might be what I ran into in #137, but I'm not certain (and haven't had a chance to look into it yet). If you're able to reproduce it maybe try finding out which
That sounds like a superb idea in my opinion! 👍 |
As a dirty workaround I'll add timeout/stop logic to atom plugin, but this is an actual issue that I've also noticed. My guess is that the issue is caused by multiple |
Well the symptom is fixed in the atom plugin, the actual problem is still in |
great!! @MaikuMori |
curious, what OS's are people running? I'm looking into another CPU utilization issue that I can only get to repro in Mac OS. |
I have also seen |
@beyang I was on Ubuntu 14.10 and either Go 1.4 or tip (I'm not sure). I tried to reproduce last week but couldn't anymore (I don't have any clue why). |
Any chance you have had multiple instances of I think I've seen |
I just tried srclib on some Go code with the Atom plugin and after some time I was wondering why my fan was going like crazy. I looked into the running tasks and found several
src
processes consuming all of my CPU. Akillall src
solved the problem.I think it is important to avoid this situation, since it gives a very strong incentive to just uninstall the tool again. The output of most (all?)
src
commands is useless if it does not compute in a timely manner. So the command could have a watchdog that just kills the process after a fixed amount of time (maybe resettable by some indication of progress), just in case something gets stuck.Next time it happens I'll try to track down what exactly is causing the seemingly infinite loop.
The text was updated successfully, but these errors were encountered: