{"id":15562,"date":"2018-08-02T20:46:04","date_gmt":"2018-08-02T20:46:04","guid":{"rendered":"http:\/\/blog.taragana.com\/?p=15562"},"modified":"2018-10-14T12:20:14","modified_gmt":"2018-10-14T12:20:14","slug":"script-to-kill-all-gradledaemon-processes-gkill","status":"publish","type":"post","link":"https:\/\/blog.taragana.com\/script-to-kill-all-gradledaemon-processes-gkill-15562","title":{"rendered":"Script to kill all GradleDaemon processes – gkill"},"content":{"rendered":"
GradleDaemon sometimes redundantly runs in the background and Grails gives erroneous responses. The simplest solution is to kill all the errant GradleDaemon processes and run the app again. Below is a simple script which will run all the errant GradleDaemon processes. The same can be used for killing any processes like say Firefox. Just substitute GradleDaemon with firefox.<\/p>\n
# Kills all GradleDaemon processes without mercy\nps -Aeo pid,command|awk '{$1=$1;print}'|grep -v grep|grep GradleDaemon|xargs kill -9<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"GradleDaemon sometimes redundantly runs in the background and Grails gives erroneous responses. The simplest solution is to kill all the errant GradleDaemon processes and run the app again. Below is a simple script which will run all the errant GradleDaemon processes. The same can be used for killing any processes like say Firefox. Just substitute […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[143],"_links":{"self":[{"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/posts\/15562"}],"collection":[{"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/comments?post=15562"}],"version-history":[{"count":1,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/posts\/15562\/revisions"}],"predecessor-version":[{"id":15820,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/posts\/15562\/revisions\/15820"}],"wp:attachment":[{"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/media?parent=15562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/categories?post=15562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.taragana.com\/wp-json\/wp\/v2\/tags?post=15562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}