erl.exe 100% CPU after resume from sleep - workaround
Just thought I'd share a workaround for the problem with erl.exe using 100% CPU for a few minutes after the computer resumes from sleep.
(there is a bug filed already, MB-3321 in jira, scheduled for 2.0.2)
I've set up a task in Windows task scheduler that kills all instances of erl.exe when the computer resumes from sleep. This solves the problem, Couchbase takes a while to recover (a minute or two), then seems to work again.
The task is set up like this:
General:
* Run whether user is logged on or not
* Run with highest privileges
Trigger:
* Begin the task = On an event
* Custom
* By Source = Power-Troubleshooter
* Event ID = 1
Action:
* Action = Start a program
* Program = taskkill
* Add arguments = "/IM erl.exe /F"
So feel free to use this workaround.
Couchbase developers could perhaps answer here if this will brake anything :P
yes that's look fine