buck daemon hangs trying to cleanup dir artifact cache
See original GitHub issueAfter a buck command, the daemon hangs for a period of time before returning control of the shell back to the user. Yourkit says there is a potential deadlock
Potential deadlock: frozen threads found
It seems that the following threads have not changed their stack for more than 10 seconds.
These threads are possibly (but not necessarily!) in a deadlock or hung.
NGSession 1: com.facebook.buck.cli.Main (NGCommunicator reader) <--- Frozen for at least 21s
com.martiansoftware.nailgun.NGUnixDomainSocketLibrary.read(int, ByteBuffer, int) NGUnixDomainSocketLibrary.java (native)
com.martiansoftware.nailgun.NGUnixDomainSocket$NGUnixDomainSocketInputStream.doRead(ByteBuffer) NGUnixDomainSocket.java:125
com.martiansoftware.nailgun.NGUnixDomainSocket$NGUnixDomainSocketInputStream.read() NGUnixDomainSocket.java:98
java.io.DataInputStream.readInt() DataInputStream.java:387
com.martiansoftware.nailgun.NGCommunicator.readChunk() NGCommunicator.java:327
com.martiansoftware.nailgun.NGCommunicator.lambda$null$0() NGCommunicator.java:124
com.martiansoftware.nailgun.NGCommunicator$$Lambda$12.call()
java.util.concurrent.FutureTask.run() FutureTask.java:266
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) ThreadPoolExecutor.java:1149
java.util.concurrent.ThreadPoolExecutor$Worker.run() ThreadPoolExecutor.java:624
java.lang.Thread.run() Thread.java:748
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
buck clean
Delete artifacts and state files generated by Buck. Buck generates artifacts in the form of files and Buck also maintains its state using...
Read more >Gerrit Code Review - Building with Buck
Caching Build Results; Cleaning The Buck Cache; Using Buck daemon ... existing project' and select the gerrit project from the current working directory....
Read more >MVC & Follow-Ups: Persistent, shared work areas between ...
First there's the surprise that your working directory disappears between jobs; once discovered, users naturally want to use caching, ...
Read more >Diff - gerrit - Google Git
Gerrit uses this cache to accelerate computing of the list +of paths of ... -Using a Buck daemon can save significant amounts of...
Read more >Untitled
[0.8.1] - add dependency on zip. fix temp dir creation bug [0.8.0] - add ... Execute systemctl daemon-reload during post installation upgrade and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You will still have to close an executor and increase timeout.
I am happy to accept a PR, please include relevant comments in the code.