Gradle daemon status messages

gradle-core

(Aditya) #1

hi all,

Our builds display the repeated message “Stopped 0 worker daemon(s)” throughout the build logs. Is this message logged by Gradle to indicate that there is no worker daemon active at that time? If yes, is there a definite time-interval that Gradle checks for existence of inactive daemons?

Stopped 0 worker daemon(s).

Starting process ‘Gradle Test Executor 2’.


Successfully started process 'Gradle Test Executor 2’
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Initialized native services in: gradle_user_home/native
Gradle Test Executor 2 started executing tests.

In Setup Service 
Sleeping for 25 sec(s)...

Stopped 0 worker daemon(s).
Stopped 0 worker daemon(s).
Stopped 0 worker daemon(s).
Stopped 0 worker daemon(s).
Stopped 0 worker daemon(s).

Thanks!


(Aditya) #2

Found most of the answers looking at gradle/subprojects/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java